class SelectMultiple(Select):
Known subclasses: django.contrib.admin.widgets.AutocompleteSelectMultiple
, django.contrib.admin.widgets.FilteredSelectMultiple
Undocumented
Method | value_from_datadict |
Given a dictionary of data and this widget's name, return the value of this widget or None if it's not provided. |
Method | value_omitted_from_data |
Undocumented |
Class Variable | allow_multiple_selected |
Undocumented |
Inherited from Select
:
Static Method | _choice_has_empty_value |
Return True if the choice's value is empty string or None. |
Method | get_context |
Undocumented |
Method | use_required_attribute |
Don't render 'required' if the first <option> has a value, as that's invalid HTML. |
Class Variable | add_id_index |
Undocumented |
Class Variable | checked_attribute |
Undocumented |
Class Variable | input_type |
Undocumented |
Class Variable | option_inherits_attrs |
Undocumented |
Class Variable | option_template_name |
Undocumented |
Class Variable | template_name |
Undocumented |
Inherited from ChoiceWidget
(via Select
):
Method | __deepcopy__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | create_option |
Undocumented |
Method | format_value |
Return selected values as a list. |
Method | id_for_label |
Use an incremented id for each option where the main widget references the zero index. |
Method | optgroups |
Return a list of optgroups for this widget. |
Method | options |
Yield a flat list of options for this widgets. |
Method | subwidgets |
Yield all "subwidgets" of this widget. Used to enable iterating options from a BoundField for choice widgets. |
Instance Variable | choices |
Undocumented |
Inherited from Widget
(via Select
, ChoiceWidget
):
Method | _render |
Undocumented |
Method | build_attrs |
Build an attribute dictionary. |
Method | render |
Render the widget as an HTML string. |
Class Variable | is_localized |
Undocumented |
Class Variable | is_required |
Undocumented |
Class Variable | needs_multipart_form |
Undocumented |
Class Variable | supports_microseconds |
Undocumented |
Instance Variable | attrs |
Undocumented |
Property | is_hidden |
Undocumented |