Show year dropdown by default for jQuery UI date pickers

This commit is contained in:
Lance Edgar 2018-02-03 14:49:32 -06:00
parent 33931b4bf2
commit 737b2e578a

View file

@ -58,7 +58,7 @@ class JQueryDateWidget(dfwidget.DateInputWidget):
requirements = None requirements = None
default_options = ( default_options = (
('changeYear', False), ('changeYear', True),
) )
def serialize(self, field, cstruct, **kw): def serialize(self, field, cstruct, **kw):