How do I disable/enable two differrent widgets?

Hi,

I have an input widget and a select widget and I want to enable only one of them.
When I write a number in the input widget, the select widget should be disabled. When I select an item from the select widget, the input widget should be disabled.

I tried something like that: {{input.isDisabled}} on the Disabled field and on the ontextChange field {{sel.isDisabled}}. But it doesn’t work correctly.

How can I do that?

Hello! Please check this documentation on how to configure widgets with code.
You would need to use the storeValue() method in the onTextChanged and onOptionChange events and based on that, conditionally disable the widgets.