wiki:MultiSelectFieldPlugin

Version 1 (modified by Olli Kallioinen, 4 years ago) (diff)

New hack MultiSelectFieldPlugin, created by ollika

MultiSelectFieldPlugin

Description

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.

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 [download:multiselectfieldplugin 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] 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.

Recent Changes

16625 by rjollos on 2017-05-27 07:54:27
TracMultiSelectField 1.0.2dev: Upgrade chosen.js to 1.7

Fix attempt to split an empty value.

Fixes #13047.

15007 by ollika on 2015-11-01 14:30:48
Added an option to use standard html selection box
15006 by ollika on 2015-10-31 14: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
(more)

Author/Contributors

Author: ollika
Maintainer: ollika
Contributors:

Attachments (2)

Download all attachments as: .zip