-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start date #9
Comments
You mean, like when the date picker opens it shows the specific month of a start date? Can you elaborate on that? I didn't quite get what you mean. |
yes. Like when the date picker opens, it should show dates from October 2015 and below |
I see. Currently there is no configuration on that. But, if there is no value (on the input) it will show the current date's month, otherwise it will show the selected date's month. |
What you can do is set the default |
Can I set the default value without adding it to the input field? |
Yes. By specifying the // default `format` config
duDatepicker('#datepicker', { value: '10/31/2015' });
// custom `format` config
duDatepicker('#datepicker', { format: 'yyyy-mm-dd', value: '2015-10-31' }); or calling duDatepicker('#datepicker', 'setValue', '10/31/2015'); Just remember that the value should be formatted like the |
Is there a way to add a start date or when the dates or calendar should start showing?
The text was updated successfully, but these errors were encountered: