Modify

Opened 5 years ago

#10470 new defect

Can't move radio buttons

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

Description

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>
</td>

whereas the same choices as a select look like:

<th class="col2" ...>
  <label for="field-confidence">Confidence:</label>
</th>
<td class="col2" ...>
  <select id="field-confidence" class="" onmouseover="show_tip(this.id)" 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>
  </select>
</td>

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain thomasd.

Add Comment


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

 
Note: See TracTickets for help on using tickets.