| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Support simple multi selectbox field = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | TracMultiSelectBoxPlugin treats pseudo multipul select values with the ticket custom field. |
| 8 | |
| 9 | Note: TracMultiSelectBoxPlugin requires Trac 1.0 or higher since it uses |
| 10 | the `list` format of text type. ([http://trac.edgewall.org/wiki/TracTicketsCustomFields TracTicketsCustomFields]) |
| 11 | |
| 12 | |
| 13 | === Features === |
| 14 | |
| 15 | - Provide simple multiple select values field |
| 16 | |
| 17 | As compared to other alternatives, |
| 18 | this plugin is intended to be simple and light weight, easy to use. |
| 19 | |
| 20 | |
| 21 | == Configuration == |
| 22 | |
| 23 | To use multiple select values like this: |
| 24 | |
| 25 | {{{ #!ini |
| 26 | [components] |
| 27 | multiselectbox.filter.multiselectbox = enabled |
| 28 | |
| 29 | [ticket-custom] |
| 30 | multiselectfield = text |
| 31 | multiselectfield.format = list |
| 32 | multiselectfield.label = my custom field |
| 33 | multiselectfield.multiple = true |
| 34 | multiselectfield.options = foo bar baz # each value is delimited with space |
| 35 | multiselectfield.size = 4 # size attribute passed to select tag |
| 36 | multiselectfield.value = bar # default value when new ticket is created |
| 37 | }}} |
| 38 | |
| 39 | |
| 40 | == Example == |
| 41 | |
| 42 | |
| 43 | |
| 44 | == Bugs/Feature Requests == |
| 45 | |
| 46 | Existing bugs and feature requests for TracMultiSelectBoxPlugin are |
| 47 | [https://bitbucket.org/t2y/trac.plugins.multiselectbox/issues here]. |
| 48 | |
| 49 | If you have any issues, create a |
| 50 | [https://bitbucket.org/t2y/trac.plugins.multiselectbox/issues/new new ticket]. |
| 51 | |
| 52 | |
| 53 | == Download == |
| 54 | |
| 55 | Download the archived source from [http://pypi.python.org/pypi/TracMultiSelectBoxPlugin here]. |
| 56 | |
| 57 | == Source == |
| 58 | |
| 59 | You can clone TracMultiSelectBoxPlugin from [https://bitbucket.org/t2y/trac.plugins.multiselectbox/ here] using Mercurial, or browse the source. |
| 60 | |
| 61 | == Acknowledgment == |
| 62 | |
| 63 | This plugin was inspired by [http://trac-hacks.org/wiki/MultiSelectFieldPlugin MultiSelectFieldPlugin]. |
| 64 | It is good choice if you're finding more rich selectbox. |
| 65 | |
| 66 | |
| 67 | == Recent Changes == |
| 68 | |
| 69 | [[ChangeLog(tracmultiselectboxplugin, 3)]] |
| 70 | |
| 71 | == Author/Contributors == |
| 72 | |
| 73 | '''Author:''' [wiki:t2y] [[BR]] |
| 74 | '''Maintainer:''' [wiki:t2y] [[BR]] |
| 75 | '''Contributors:''' |