wiki:MultiSelectFieldPlugin

Version 8 (modified by rjollos, 17 months ago) (diff)

Improve example.

MultiSelectFieldPlugin

Description

Plugin allowing custom fields in tickets supporting multiple selection mode. Predefined values must be defined for each field, from which multiple values can be selected by the user.

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.

Bugs/Feature Requests

Existing bugs and feature requests for MultiSelectFieldPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out MultiSelectFieldPlugin from here using Subversion, or browse the source with Trac.

Example

Install and enable plugin. Then add a new custom field to your conf/trac.ini

For example:

[ticket-custom]
environment = text
environment.format = list
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.

TODO

  • 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.

Recent Changes

[13144] by ollika on 2013-05-15 13:21:53
Removed unnecessary logging that caused problems with IE (Ticket #11066).
[12995] by ollika on 2013-04-22 00:36:13
BSD license file added.
[12994] by ollika on 2013-04-22 00:15:45
initial version

Author/Contributors

Author: ollika (http://suikki.wordpress.com)
Maintainer: ollika
Contributors:

Attachments (2)

Download all attachments as: .zip