Modify

Opened 11 years ago

Last modified 3 years ago

#8177 new enhancement

Preset <check> and <combo> to set several keys in one check

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: preset check Cc: malcolmh, KorneySan

Description (last modified by Don-vip)

I am writing very complexe presets for extremely complex tagging schemes, and have seen the need to set several keys in one check. I would like something like this:

<check text="My check" default="off">
 <check_entry key="my_first_key" value_on="foo" value_off="bar"/>
 <check_entry key="my_second_key" value_on="bar" value_off="foo"/>
</check>

I have several places in my preset a set of different keys that have fixed values depending on what I check, currently I have done that as several checks after each other, but find this a little inconviniente as all the values depend on each other.

Attachments (0)

Change History (10)

comment:1 by skyper, 11 years ago

Component: External presetCore
Keywords: preset check added

comment:2 by anonymous, 10 years ago

See also ticket #10475

comment:3 by malcolmh, 10 years ago

Cc: malcolmh

comment:4 by malcolmh, 10 years ago

Cc: malcolmh added

in reply to:  3 comment:5 by skyper, 10 years ago

Replying to malcolmh:

Cc: malcolmh

Commenting automatically adds you to cc.

comment:6 by Don-vip, 4 years ago

Ticket #10475 has been marked as a duplicate of this ticket.

comment:7 by Don-vip, 4 years ago

Description: modified (diff)

comment:8 by skyper, 4 years ago

This would be useful not just for <check> but also for <combo> and <multiselect>.

comment:9 by simon04, 3 years ago

Ticket #19187 has been marked as a duplicate of this ticket.

comment:10 by simon04, 3 years ago

Cc: KorneySan added
Summary: Preset <check> to set several keys in one checkPreset <check> and <combo> to set several keys in one check

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to anonymous.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.