Modify

Opened 9 years ago

Last modified 6 months 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 Changed 8 years ago by skyper

Component: External presetCore
Keywords: preset check added

comment:2 Changed 7 years ago by anonymous

See also ticket #10475

comment:3 Changed 7 years ago by malcolmh

Cc: malcolmh

comment:4 Changed 7 years ago by malcolmh

Cc: malcolmh added

comment:5 in reply to:  3 Changed 7 years ago by skyper

Replying to malcolmh:

Cc: malcolmh

Commenting automatically adds you to cc.

comment:6 Changed 23 months ago by Don-vip

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

comment:7 Changed 23 months ago by Don-vip

Description: modified (diff)

comment:8 Changed 18 months ago by skyper

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

comment:9 Changed 6 months ago by simon04

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

comment:10 Changed 6 months ago by simon04

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.
to The owner will be changed from team to the specified user.
The owner will change to anonymous
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.