wiki:TracMultiSelectBoxPlugin

Version 3 (modified by rjollos, 10 months ago) (diff)

Leading whitespace in the configuration section can cause problems with copy and paste, as we've seen with #11581.

Support simple multi selectbox field

Description

TracMultiSelectBoxPlugin treats pseudo multiple select values with the ticket custom field.

Note: TracMultiSelectBoxPlugin requires Trac 1.0 or higher since it uses the list format of text type. (TracTicketsCustomFields)

Features

  • Provide simple multiple select values field

As compared to other alternatives, this plugin is intended to be simple and light weight, easy to use.

Configuration

To use multiple select values like this:

[components]
multiselectbox.filter.multiselectbox = enabled

[ticket-custom]
multiselectfield = text
multiselectfield.format = list
multiselectfield.label = my custom field
multiselectfield.multiple = true
multiselectfield.options = foo bar baz  # each value is delimited with space
multiselectfield.size = 4               # size attribute passed to select tag
multiselectfield.value = bar            # default value when new ticket is created

Example

Select multiple values

select multiple values

Show selected multiple values

show selected multiple values

Bugs/Feature Requests

Existing bugs and feature requests for TracMultiSelectBoxPlugin are here.

If you have any issues, create a new ticket.

Download

Download the archived source from here.

Source

You can clone TracMultiSelectBoxPlugin from here using Mercurial, or browse the source.

Acknowledgment

This plugin was inspired by MultiSelectFieldPlugin. It is good choice if you're finding more rich selectbox.

Recent Changes

Error: Macro ChangeLog(tracmultiselectboxplugin, 3) failed
No node tracmultiselectboxplugin at revision 14336

Author/Contributors

Author: t2y
Maintainer: t2y
Contributors:

Attachments (3)

Download all attachments as: .zip