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

onChange not working flatpickr 4.6.10 #180

Closed
Levelsncurves opened this issue Mar 10, 2022 · 8 comments
Closed

onChange not working flatpickr 4.6.10 #180

Levelsncurves opened this issue Mar 10, 2022 · 8 comments

Comments

@Levelsncurves
Copy link

No description provided.

@Levelsncurves
Copy link
Author

onChange not working flatpickr 4.6.10

@jacobmischka
Copy link
Collaborator

@jacobmischka
Copy link
Collaborator

Oh, you mean the hook in options. You should really be clearer if you want your issues to be taken seriously.

@jacobmischka
Copy link
Collaborator

They're actually both working individually, turns out they just clobber each other. Though this has nothing to do with flatpickr 4.6.10, so I don't think this is even what you meant.

@Levelsncurves
Copy link
Author

@jacobmischka
Copy link
Collaborator

Upstream issue: flatpickr/flatpickr#2651

@Levelsncurves
Copy link
Author

Upstream issue: flatpickr/flatpickr#2651

this example link onchange not show any alert there

onChange:function(selectedDates, dateStr, instance) {
alert('date changed')
},

@jacobmischka
Copy link
Collaborator

Workaround is mentioned in that issue. Either pin the flatpickr dependency to a different working version, wait for a flatpickr update, or use the workaround.

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

2 participants