Opened 4 years ago

Closed 4 years ago

#22040 closed Bug (worksforme)

RadioSelect options no longer available

Reported by: chad@… 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.

Change History (1)

comment:1 Changed 4 years ago by Claude Paroz

Resolution: worksforme
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top