Opened 12 years ago
Last modified 10 years ago
#9986 closed defect
show when checkbox enabled doesn't work — at Initial Version
Reported by: | Owned by: | Rob Guttman | |
---|---|---|---|
Priority: | normal | Component: | DynamicFieldsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
I tried various keywords to specify the state of a checbox (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.