#9986 closed defect (fixed)
show when checkbox enabled doesn't work
Reported by: | Owned by: | Rob Guttman | |
---|---|---|---|
Priority: | normal | Component: | DynamicFieldsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
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.
Attachments (0)
Change History (5)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Oops, I wasn't handling checkboxes as trigger fields. Please try the above fix and reopen if it doesn't work. Thanks.
comment:4 Changed 11 years ago by
Description: | modified (diff) |
---|
(In [11519]) refs #9986: now handles checkbox triggers.