Opened 12 years ago
Closed 10 years 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 |
Description
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 10 years ago by
Owner: | Noah Kantrowitz deleted |
---|
comment:2 Changed 10 years ago by
comment:3 follow-up: 4 Changed 10 years ago by
you can alter core trac ticket template at your own risk to make it work
File /trac/ticket/templates/ticket.html
MAKE BACKUP OF THIS FILE
Add id
attribute:
<input_type="radio" name="field_${field.name}" id="field-${field.name}">
Remove
py:strip="field.type == 'radio'"
comment:4 Changed 10 years ago by
Replying to bebugz@…:
<input_type="radio" name="field_${field.name}" id=field-${field.name}">
That wouldn't be a workaround. id
attribute must be unique however radio elements are normally multiple.
comment:5 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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.
are there any progress on this issue. I'm experiencing that as well.