Hello @aniket ,
You can include the condition directly within the input field. For example, you can set a variable to !demoVar based on the required logic in your custom code while clicking a button, you can use local to store this thing, and then use that variable to control whether the input field is disabled or hidden.
I did the same I created one variable in local and used that with input field under dependency. Also updating this variable on button click, but my input field remains disable only. I added two conditions in dependency one is for true value and one is for false value
Hello @aniket ,
It seems like you are not updating properly, please try to use alpha.local.update(“isEdite”,!alpha.local.get().isEdite) instead of alpha.local.get().isEdite = !alpha.local.get().isEdite and try once more. Please let me know if that works
Hello @shubham.dhamne ,
I think you can initialize the value as false or true on on init. Then, you can use alpha.co.update("editApplicationForm", !alpha.co.get().editApplicationForm). Try this and let me know if it works