1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget.

placeholder is required for "select" with "required" attribute.
This commit is contained in:
Hasan Ramezani
2019-05-05 01:26:37 +02:00
committed by Mariusz Felisiak
parent ef9f2eb69c
commit f038214d91
3 changed files with 59 additions and 3 deletions

View File

@@ -373,6 +373,10 @@ Miscellaneous
* Support for ``pywatchman`` < 1.2.0 is removed.
* HTML rendered by :class:`~django.forms.SelectDateWidget` for required fields
now have the ``placeholder`` attribute, which mainly may require some
adjustments in tests that compare HTML.
.. _deprecated-features-3.0:
Features deprecated in 3.0