Enable a disabled Button mit JS

I want to enable a disabled Button by JS.

I tried:
{{Button_optout.disabled=false}}
{{Button_optout.disabled=0}}
{{Button_optout.enabled=true}}
and so on.

i am just too stupid. Javascript is just not my thing.

thx
Franz

Hey! Sorry for the delayed response.
The problem here is - you are trying to update the widget properties from outside. You’ll have to write the logic in the property pane of that widget. Take a look at following snippet -
Screenshot 2022-03-03 at 3.08.12 PM

1 Like

ah ok, git it. in my case:

{{get_inpro.data[0] == undefined}}

works.
Thank you !