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

Update value on set #1474

Merged
merged 2 commits into from
Aug 31, 2018
Merged

Update value on set #1474

merged 2 commits into from
Aug 31, 2018

Conversation

andrewlouie
Copy link
Contributor

What's Changed?
Calling a manual flatpickr.set() to change options will now update the date shown in the input

How To Test
Use the HTML and JavaScript in this fiddle: https://jsfiddle.net/49g1r80d/
Clicking the 'Change format' button will update the input right away without having to open the date picker again.

Notes
Relates to issue #1431

@chmln chmln merged commit 383163e into flatpickr:master Aug 31, 2018
@andrewlouie andrewlouie deleted the update-value-on-set branch September 4, 2018 18:00
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

Successfully merging this pull request may close these issues.

None yet

2 participants