Skip to main content

Provide simple multiple select values field

Project description

Notes

[TracMultiSelectBoxPlugin](https://trac-hacks.org/wiki/TracMultiSelectBoxPlugin “TracMultiSelectBoxPlugin”) treats pseudo multipul 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](http://trac.edgewall.org/wiki/TracTicketsCustomFields “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

Operation Tips

revert function

To revert multiple select values during you are editing. Unfortunately, Trac don’t care about it. (confirmed 1.0.2) To use Trac’s revert function, you must apply a patch included in the source distribution.

$ cd path/to/trac $ patch -p0 < patch/support-multipleselct-for-reverthandler-trac10.patch $ restart Trac

Acknowledgment

This plugin was inspired by [MultiSelectFieldPlugin](http://trac-hacks.org/wiki/MultiSelectFieldPlugin “MultiSelectFieldPlugin”). MultiSelectFieldPlugin is good choice if you’re finding more rich selectbox.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TracMultiSelectBoxPlugin-0.5.2.tar.gz (9.2 kB view details)

Uploaded Source

File details

Details for the file TracMultiSelectBoxPlugin-0.5.2.tar.gz.

File metadata

File hashes

Hashes for TracMultiSelectBoxPlugin-0.5.2.tar.gz
Algorithm Hash digest
SHA256 cb54ee03a5b9b4186e436210a3d06b0fdf5aee26528e247fd24f09e555f8169d
MD5 8691cd1a87e76495a42bc20af9081e20
BLAKE2b-256 01f6a5ef0db75fa41350d6c064ff714309728af39ad20a498c767d5f69709290

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page