mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #22684 -- Added empty_label option on django.forms.extras.widets.SelectDateWidget
Thanks danielsamuels for the report
This commit is contained in:
committed by
Tim Graham
parent
fd427f1fe3
commit
32586b0ba4
@@ -136,6 +136,10 @@ Forms
|
||||
a form's :attr:`~django.forms.Form.label_suffix` while using shortcuts such
|
||||
as ``{{ form.as_p }}`` in templates.
|
||||
|
||||
* :class:`~django.forms.extras.widgets.SelectDateWidget` now accepts an
|
||||
:attr:`~django.forms.extras.widgets.SelectDateWidget.empty_label` argument, which will
|
||||
override the top list choice label when :class:`~django.forms.DateField` is not required.
|
||||
|
||||
Internationalization
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user