Join the Webstudio community

Updated 9 months ago

Disable button with checkbox

At a glance

A community member is trying to set a button to disable if a checkbox is unchecked, and is asking how to get the checkbox status outside of the checkbox component. Another community member responds that this is not possible without bidirectional bindings with the UI, and that custom JavaScript would be required. The original community member acknowledges this and says they will let the other community member know how they proceed.

Hi ! I try to set a button to disable if a checkbox is unchecked.
How can I get my checkbox status outside of my ckeckbox component ?
Attachment
Capture_decran_2024-06-27_a_16.12.37.png
O
M
2 comments
I am afraid this is not possible without bidirectional bindings with the ui. You would have to add custom js for this right now.
All right. I'll let you know how I get there
Add a reply
Sign up and join the conversation on Discord