Opened 4 years ago

Closed 21 months ago

#11182 closed defect (wontfix)

radio custom fields are broken

Reported by: anonymous Owned by:
Priority: normal Component: CondFieldsPlugin
Severity: minor Keywords:
Cc: Trac Release: 1.0


The configuration create custom field of type "radio". If the CondFieldsPlugin is disabled it works ok. If enabled... the radio field disappear. Actually the the html is broken, but the browser just ignore broken section.

The workaround is to use type "select" instead of "radio".

Attachments (0)

Change History (5)

comment:1 Changed 23 months ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

comment:2 Changed 21 months ago by bebugz@…

are there any progress on this issue. I'm experiencing that as well.

comment:3 Changed 21 months ago by bebugz@…

you can alter core trac ticket template at your own risk to make it work

File /trac/ticket/templates/ticket.html


Add id attribute:

<input_type="radio" name="field_${}" id="field-${}">


py:strip="field.type == 'radio'"
Last edited 21 months ago by Ryan J Ollos (previous) (diff)

comment:4 in reply to:  3 Changed 21 months ago by anonymous

Replying to bebugz@…:

<input_type="radio" name="field_${}" id=field-${}">

That wouldn't be a workaround. id attribute must be unique however radio elements are normally multiple.

comment:5 Changed 21 months ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

CondFieldsPlugin is deprecated. Please see notice on CondFieldsPlugin and use DynamicFieldsPlugin instead. If you have any issues creating an equivalent configuration with DynamicFieldsPlugin, please ask for help on the trac:MailingList.

Modify Ticket

as closed The ticket will remain with no owner.
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.