سؤال

A quick question. When I create a datePicker object, the range of years you can select with DropDownChoice is a range -10/+10 years from now.

How can I extend this range? I want to start from 1900. I tried with setMinDate but it doesn't work.

لا يوجد حل صحيح

نصائح أخرى

According to the documentation of DatePicker, DatePicker.configure(Map widgetProperties, IHeaderResponse response, Map initVariables) and YUI Calendar, you can set the mindate and maxdate as widgetProperties.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top