pickadate.js
pickadate.js copied to clipboard
Scrolling drop down 'year'
Is there a way to have the drop down for the year to be scrollable?
I can only select five years in the past and in the future on Safari.
Did you increase selectYears?
I had selectYears=true. Good pointer, that it can be a number. Now it's scrolling!
I'm using a Deform widget in my Python project, which is incorporating the settings like this:
class BirthdateField(colander.SchemaNode):
oid = "birthdate"
schema_type = colander.Date
widget = deform.widget.DateInputWidget(
options={'selectMonths': True,
'formatSubmit': "yyyy-mm-dd",
'selectYears': 200, # <-- make years scrolling here! :)
'format': 'yyyy-mm-dd'}
)