Skip to content
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

Add a sensible way of specifying selectedDate on TinyDatePicker creation #133

Open
jarmo opened this issue Jul 18, 2022 · 0 comments
Open

Comments

@jarmo
Copy link

jarmo commented Jul 18, 2022

Currently TinyDatePicker constructor does not seem to have an option to specify date upon initialization, which might become handy sometimes. It would be a good to have a way to do that since current option is too cumbersome:

var datepicker = TinyDatePicker(el, ..)
datepicker.setState({selectedDate: SPECIFIED_DATE})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant