If tag drab="..." is present, a control can't get disabled:
<button disabled id="my-button1" drab="click:do_something">Button 1</button> <!-- despite `disabled` attribute, button remains still enabled -->
<button disabled id="my-button2">Button 2</button> <!-- this instead works -->
neither trying to disable via set_prop works:
# in Commander
def_handler disable_button(socket, _sender) do
set_prop(socket, "#my-button1", disabled: true) # despite `disabled: true`, button remains still
set_prop(socket, "#my-button2", disabled: true) # this instead works
end
If tag
drab="..."is present, a control can't get disabled:neither trying to disable via
set_propworks: