Modify

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)

customfieldsupportmultiselect.diff (2.4 KB) - added by ebencheung 14 years ago.
patch of customfieldadmin for support multi select field

Download all attachments as: .zip

Change History (9)

Changed 14 years ago by ebencheung

patch of customfieldadmin for support multi select field

comment:1 Changed 14 years ago by ebencheung

Status: newassigned

comment:2 Changed 14 years ago by ebencheung

Resolution: worksforme
Status: assignedclosed

comment:3 Changed 14 years ago by ebencheung

Resolution: worksforme
Status: closedreopened

comment:4 Changed 14 years ago by osimons

Owner: changed from ebencheung to osimons
Status: reopenednew

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 Bill Meyer

Please make multi-select field part of the standard installation or plugin.

comment:6 Changed 14 years ago by grzesiu_mg@…

Priority: normalhigh

Hi,

I have trac 11.5 installed on Windows. How I can install this plugin ?

comment:7 in reply to:  6 Changed 14 years ago by ebencheung

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 in reply to:  4 Changed 4 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.