mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
committed by
Tim Graham
parent
5538729e4e
commit
fbc3c29e7c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user