Opened 4 years ago

#10470 new defect

Can't move radio buttons

Reported by: ChrisNelson Owned by: thomasd
Priority: normal Component: GroupTicketFieldsPlugin
Severity: normal Keywords:
Cc: falkb Trac Release: 0.12


The DOM structure of radio buttons is quite different from that of other field types. There is no "label for" the input to key on and no unique input field with the "field-<fieldname>" as the ID.

It looks like:

<th class="col1" ...> Confidence: </th>
<td class="col1" ...>
  <label><input class="" type="radio" value="Low" name="field_confidence">Low</label>
  <label><input class="" type="radio" value="Medium" name="field_confidence">Medium</label>
  <label><input class="" type="radio" value="High" name="field_confidence">High</label>

whereas the same choices as a select look like:

<th class="col2" ...>
  <label for="field-confidence">Confidence:</label>
<td class="col2" ...>
  <select id="field-confidence" class="" onmouseover="show_tip(" name="field_confidence" title="">
    <option value="Low">Low</option>
    <option value="Medium">Medium</option>
    <option value="High">High</option>
    <option value="Very high">Very high</option>

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new The owner will remain thomasd.

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

Note: See TracTickets for help on using tickets.