Opened 14 years ago
Closed 4 years ago
#7156 closed task (wontfix)
[customfieldadmin]Support For MultiSelectCustomFields
Reported by: | ebencheung | Owned by: | osimons |
---|---|---|---|
Priority: | high | Component: | CustomFieldAdminPlugin |
Severity: | normal | Keywords: | customfield, multi |
Cc: | Trac Release: | 0.11 |
Description
Support for multi select custom field. See MultiSelectCustomFieldsPatch? for more information.
Attachments (1)
Change History (9)
Changed 14 years ago by
Attachment: | customfieldsupportmultiselect.diff added |
---|
comment:1 Changed 14 years ago by
Status: | new → assigned |
---|
comment:2 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
comment:3 Changed 14 years ago by
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
comment:4 follow-up: 8 Changed 14 years ago by
Owner: | changed from ebencheung to osimons |
---|---|
Status: | reopened → new |
With #5838 and #7015 as examples, what really should be done is make the plugin extensible so that other plugins (like some multiselect plugin itself) could contribute the 'multi' editor without changing the plugin itself. That way 'multi' would not be an option if the plugin isn't installed - which is easier for other developers, and more natural to users.
By default the plugin will be supporting the types of fields supported by Trac, and I won't be adding any 'multi', 'date', 'time' or other types of fields unless it becomes part of standard Trac.
However, I'd be happy to commit a patch that makes all fields types 'pluggable' - including the standard ones. The plugin interface would then be responsible for storing and clearing such fields, and also provide the hints needed for generating the input/edit fields.
comment:5 Changed 14 years ago by
Please make multi-select field part of the standard installation or plugin.
comment:6 follow-up: 7 Changed 14 years ago by
Priority: | normal → high |
---|
Hi,
I have trac 11.5 installed on Windows. How I can install this plugin ?
comment:7 Changed 14 years ago by
Replying to grzesiu_mg@o2.pl:
Hi,
I have trac 11.5 installed on Windows. How I can install this plugin ?
- Download the source of customfieldadmin
- Find customfieldadmin/templates/customfieldadmin.html
- Replace all
<option py:for="value in ['text', 'select', 'checkbox', 'radio', 'textarea']"
with<option py:for="value in ['text', 'select', 'checkbox', 'radio', 'textarea','multi']"
comment:8 Changed 4 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Replying to osimons:
However, I'd be happy to commit a patch that makes all fields types 'pluggable' - including the standard ones. The plugin interface would then be responsible for storing and clearing such fields, and also provide the hints needed for generating the input/edit fields.
=> trac:#13206.
patch of customfieldadmin for support multi select field