I'm having an issue with an input widget staying enabled, even when it's disabled javascript code evaluates to true.
When the modal first loads, the disabled javascript code evaluates to true, and the input widget is disabled. If I push a button it will inputWidget.setDisabled(false) which enables the input widget. If I reset the input widget, it will stay enabled, even through the disabled javascript code still resolves to false. How can I get the input widget to disable based on its disabled javascript code?
Input widget Disabled code: {{Table1Copy.selectedRowIndex < 0}} Table1Copy.selectedRowIndex equals -1
Button1 onClick code: {{inputWidget.setDisabled(false)}}
Button2 onClick code:{{resetWidget("inputWidget")}}
After pusing Button2, the input widget remains enabled, even though the Disabled code resolves to true.