summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorheathervm <heathervmurray@gmail.com>2017-03-31 07:10:08 -0700
committerTim Graham <timograham@gmail.com>2017-03-31 10:10:30 -0400
commitff0c6b83e590e36555639563c4bd1d808f416455 (patch)
treeda0ec13758cd5a98d460cace87cdb89a2e239a7c /docs/ref
parent8484cf4cd0a6d3553f6fc1d62fa6dc04f04624f0 (diff)
[1.11.x] Fixed #27993 -- Fixed model form default fallback for SelectMultiple.
Backport of 7d1e23775344cc3dead03bd4af45f4fdf134b819 from master
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/forms/widgets.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt
index 077d4617ad..df4daa5807 100644
--- a/docs/ref/forms/widgets.txt
+++ b/docs/ref/forms/widgets.txt
@@ -304,11 +304,12 @@ foundation for custom widgets.
The method's result affects whether or not a field in a model form
:ref:`falls back to its default <topics-modelform-save>`.
- Special cases are :class:`~django.forms.CheckboxInput` and
- :class:`~django.forms.CheckboxSelectMultiple`, which always return
- ``False`` because an unchecked checkbox doesn't appear in the data of
- an HTML form submission, so it's unknown whether or not the user
- actually submitted a value.
+ Special cases are :class:`~django.forms.CheckboxInput`,
+ :class:`~django.forms.CheckboxSelectMultiple`, and
+ :class:`~django.forms.SelectMultiple`, which always return
+ ``False`` because an unchecked checkbox and unselected
+ ``<select multiple>`` don't appear in the data of an HTML form
+ submission, so it's unknown whether or not the user submitted a value.
.. method:: use_required_attribute(initial)