Opened 10 years ago
Closed 5 years ago
#10475 closed enhancement (duplicate)
if-then-else for <check>
Reported by: | malcolmh | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | preset check | Cc: | skyper |
Description (last modified by )
The current <check>
only allows one key with one of two values. Often it is required to select alternative key/value pairs, rather than alternative values for a single key. Also more than one key/value pair may be wanted. I suggest the following enhancement to <check>
:
<check text="..." default="..."> <check_on> <key key="..." value="..."/> <key ... /> </check_on> <check_off> <key key="..." value="..."/> <key ... /> </check_off> </check>
Where only one key/value pair is required, then <check_on key="..." value="..."/>
or <check_off key="..." value="..."/>
would be used for either or both the then & else cases.
Attachments (0)
Change History (6)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|---|
Keywords: | preset added |
comment:2 by , 10 years ago
Description: | modified (diff) |
---|
comment:3 by , 10 years ago
Cc: | added |
---|
comment:4 by , 10 years ago
comment:6 by , 5 years ago
Keywords: | check added |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Closed as duplicate of #8177.
Multiple key/value pairs would also be useful in combos and multiselects. i.e.:
<list_entry>
</list_entry>