wiki:MultiSelectFieldPlugin

Version 2 (modified by Olli Kallioinen, 5 years ago) (diff)

--

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

16716 by rjollos on 2017-07-18 22:07:42
TracMultiSelectField 1.0.2: Tidy up codebase

Refs #13244.

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
(more)

Author/Contributors

Author: ollika
Maintainer: ollika
Contributors:

Attachments (2)

Download all attachments as: .zip