diff options
| author | Tim Graham <timograham@gmail.com> | 2016-09-30 14:49:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-30 14:49:50 -0400 |
| commit | 87c5e7efebd040aef0f0479ccf86877155bb5cea (patch) | |
| tree | 7306b48f0da0844ca0f0f2e4347d9453eb11012e /docs/ref/forms/widgets.txt | |
| parent | 1d25eb9688f1a245737490dccf8ba54b6c907052 (diff) | |
Refs #27186 -- Fixed model form default fallback for CheckboxSelectMultiple.
Diffstat (limited to 'docs/ref/forms/widgets.txt')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 8a6864b5b7..99514e46a2 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -280,10 +280,11 @@ 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>`. - A special case is :class:`~django.forms.CheckboxInput`, which always - returns ``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` 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. ``MultiWidget`` --------------- |
