Modify ↓
      
        #11523 closed defect (fixed)
Can not hide radio buttons
| Reported by: | anonymous | Owned by: | Ryan J Ollos | 
|---|---|---|---|
| Priority: | normal | Component: | DynamicFieldsPlugin | 
| Severity: | normal | Keywords: | |
| Cc: | weirdo | Trac Release: | 
Description (last modified by )
If you have a custom field that is set as a radio
[ticket-custom] ittype = radio ittype.label = IT Type ittype.options = Help Desk|Project ittype.order = 3 ittype.value = Help Desk
you can not hide it based on the group using
ittype.show_if_group = itmember
It works for text and standard just not for radio.
Attachments (1)
Change History (8)
comment:1 Changed 12 years ago by
| Cc: | weirdo added; anonymous removed | 
|---|
comment:2 Changed 12 years ago by
| Description: | modified (diff) | 
|---|
Changed 12 years ago by
| Attachment: | t11523.patch added | 
|---|
comment:4 Changed 12 years ago by
| Owner: | changed from Rob Guttman to Ryan J Ollos | 
|---|---|
| Status: | new → accepted | 
comment:7 Changed 12 years ago by
| Resolution: | → fixed | 
|---|---|
| Status: | accepted → closed | 
Please report back if you are able to test the latest version.
Note: See
        TracTickets for help on using
        tickets.
    



The problem is with the markup for a radio button:
inputs don't haveidtags.thisn't wrapped in alabel.The jQuery selectors are expecting both of those conditions to be in place. For example, here is the markup for a
textfield:I've attached a patch against the 0.11 branch. Would you kindly test it out?: t11523.patch.