class documentation
class RadioSelect(ChoiceWidget): (source)
Known subclasses: django.contrib.admin.widgets.AdminRadioSelect
, django.forms.widgets.CheckboxSelectMultiple
Undocumented
Method | id |
Don't include for="field_0" in <label> to improve accessibility when using a screen reader, in addition clicking such a label would toggle the first input. |
Class Variable | input |
Undocumented |
Class Variable | option |
Undocumented |
Class Variable | template |
Undocumented |
Class Variable | use |
Undocumented |
Inherited from ChoiceWidget
:
Method | __deepcopy__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | create |
Undocumented |
Method | format |
Return selected values as a list. |
Method | get |
Undocumented |
Method | optgroups |
Return a list of optgroups for this widget. |
Method | options |
Yield a flat list of options for this widget. |
Method | subwidgets |
Yield all "subwidgets" of this widget. Used to enable iterating options from a BoundField for choice widgets. |
Method | value |
Given a dictionary of data and this widget's name, return the value of this widget or None if it's not provided. |
Class Variable | add |
Undocumented |
Class Variable | allow |
Undocumented |
Class Variable | checked |
Undocumented |
Class Variable | option |
Undocumented |
Instance Variable | choices |
Undocumented |
Inherited from Widget
(via ChoiceWidget
):
Method | build |
Build an attribute dictionary. |
Method | render |
Render the widget as an HTML string. |
Method | use |
Undocumented |
Method | value |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | is |
Undocumented |
Class Variable | needs |
Undocumented |
Class Variable | supports |
Undocumented |
Instance Variable | attrs |
Undocumented |
Property | is |
Undocumented |
Method | _render |
Undocumented |
Don't include for="field_0" in <label> to improve accessibility when using a screen reader, in addition clicking such a label would toggle the first input.
overridden in
django.contrib.admin.widgets.AdminRadioSelect
, django.forms.widgets.CheckboxSelectMultiple
Undocumented