mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Fixed #29036 -- Fixed HTML5 required validation on SelectDateWidget if the attribute is added by JavaScript.
Thanks Tim Graham for the initial patch.
This commit is contained in:
parent
5538729e4e
commit
fbc3c29e7c
4 changed files with 56 additions and 49 deletions
|
@ -265,6 +265,10 @@ Miscellaneous
|
|||
elements, e.g. ``<br>``. This is incompatible within XHTML, although some
|
||||
widgets already used aspects of HTML5 such as boolean attributes.
|
||||
|
||||
* The value of :class:`~django.forms.SelectDateWidget`'s empty options is
|
||||
changed from 0 to an empty string, which mainly may require some adjustments
|
||||
in tests that compare HTML.
|
||||
|
||||
.. _deprecated-features-2.1:
|
||||
|
||||
Features deprecated in 2.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue