wiki:MultiSelectFieldPlugin

Version 9 (modified by figaro, 9 years ago) (diff)

Cosmetic changes, tagged with license

Multiple selection mode as a new ticket field

Notice: This plugin is unmaintained and available for adoption.

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.

defect

9 / 9

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]
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 glitching 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

17830 by rjollos on 2020-08-05 17:04:53
TracMultiSelectField 1.0.4: Fix exceptions for unintended name attributes

Refs #13863.

17808 by rjollos on 2020-07-24 20:51:19
TracMultiSelectField 1.0.3dev: Make compatible with Trac 1.4+

Remove use of ITemplateStreamFilter and add equivalent
operations in JavaScript.

Refs #13855.

17518 by rjollos on 2019-09-24 23:09:27
TracMultiSelectField 1.0.2: Add project URL
(more)

Author/Contributors

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

Attachments (2)

Download all attachments as: .zip