Opened 11 years ago
Closed 11 years ago
#22040 closed Bug (worksforme)
RadioSelect options no longer available
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.6 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
https://docs.djangoproject.com/en/dev/ref/forms/widgets/#radioselect
"That included the <label> tags. To get more granular, you can use each radio button’s tag, choice_label and id_for_label attributes. For example, this template..."
id_for_label is no longer present in the code. Or it's returning blank.
Might want to add that choice_value and index are also available.
Note:
See TracTickets
for help on using tickets.
Sorry, but I cannot see anything which wouldn't work as documented. You may want to review your code, or give more details about the problem.
id_for_label
is still available in Django's code, of course.