|Version 5 (modified by ollika, 3 years ago) (diff)|
Plugin allowing custom fields in tickets supporting multiple selection mode. that have a set of predefined values. Each field can be assigned multiple values that can be selected.
The data is saved as a normal text field with the values separated by '|'.
The selection component itself is using http://harvesthq.github.io/chosen/ to implement multiple selection in a more user friendly way.
If you have any issues, create a new ticket.
Download the zipped source from [download:multiselectfieldplugin here].
Install and enable plugin. Then add a new custom field to your conf/trac.ini
[ticket-custom] environament.format = list environment = text environment.label = Environment environment.multiselect = true environment.options = Android|iPhone|iPad|Windows|Linux|MacOs environment.order = 2
This will add a new field supporting multiple selection called 'environment' with some predefined values.
- Graphics are glitcing a bit with the remove 'x' button.
- Behaviour when removing predefined option that is in use in existing tickets is not well defined or tested.
- 15007 by ollika on 2015-11-01 15:30:48
Added an option to use standard html selection box
- 15006 by ollika on 2015-10-31 15:32:52
Fixed issue with similar option names. Fixed field revert functionality. Updated chosen version. Fixed options with whitespace. Added option to define the data delimiter
- 13144 by ollika on 2013-05-15 13:21:53
Removed unnecessary logging that caused problems with IE (Ticket #11066).