diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2016-07-21 17:16:22 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-08-01 10:36:17 -0400 |
| commit | ac3aaaa740dcf9c6efd2f88ee9219c1924c7695e (patch) | |
| tree | 72e8a094b6f88f60e80397eaf00ce52feb46ed6f /docs/ref | |
| parent | aad46c3e370e105f9117a337924090d05f1b001d (diff) | |
Fixed #26927 -- Made subwidget iteration pass disabled and required attributes.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/forms/widgets.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 6a8cdf3c70..aae92a37c9 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -714,8 +714,10 @@ Selector and checkbox widgets The outer ``<ul>`` container receives the ``id`` attribute of the widget, if defined, or :attr:`BoundField.auto_id` otherwise. -Like :class:`RadioSelect`, you can now loop over the individual checkboxes making -up the lists. See the documentation of :class:`RadioSelect` for more details. +Like :class:`RadioSelect`, you can loop over the individual checkboxes for the +widget's choices. Unlike :class:`RadioSelect`, the checkboxes won't include the +``required`` HTML attribute if the field is required because browser validation +would require all checkboxes to be checked instead of at least one. When looping over the checkboxes, the ``label`` and ``input`` tags include ``for`` and ``id`` attributes, respectively. Each checkbox has an |
