You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Figured out that you can pass an onChange function in the config object. Maybe a section could be added to the documentation dedicated to getting the selected values.
Hi @KolbySisk could you explain how did you use the onChange function please? How can I set the selectedDates or the dateStr to a variable in my Component?
Flatpickr documentation has a page with hooks
In their example you can use onChange to get
selectedDates, dateStr, instance
Is there a way to use these hooks? A way I can access
selectedDates, dateStr, instance
? Or should just rely oninput.value
?Thanks
The text was updated successfully, but these errors were encountered: