show when checkbox enabled doesn't work
|Reported by:||skyrat@…||Owned by:||robguttman|
Description (last modified by rjollos)
I tried various keywords to specify the state of a checkbox (true/false, enabled/disabled, 0/1). 0/1 finally was doing at least something:
[ticket-custom] expertmode = checkbox expertmode.label = Expert mode expertmode.options = expertmode.order = 7 expertmode.value = 0
when priority.show_when_expertmode = 0
-> reloading (checkbox unchecked) -> Priority was NOT shown but should be
and when priority.show_when_expertmode = 1
-> reloading (checkbox unchecked) -> Priority was shown but should NOT be
The second thing is that clicking the checkbox did not react in any visual case so the fields remained unchanged.
Am I missing something? When just changing the control type from checkbox to select, all worked as expected.