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
A multiple date picker component returns selected dates as a comma-separated string like "2025-10-06,2025-10-13,2025-10-14,2025-10-23,2025-10-24 which is parsed as a string instead of an array. Using the dehydrateStateUsing() method to transform it doesn't work.
How to reproduce the bug
Add the following component to a form and submit it.
Flatpickr::make('days_not_worked')
->label('Days not worked')
->required()
->multiplePicker()
->altFormat('M j'),
Activity
jluitz commentedon Nov 19, 2025
I had the same issue with multiplePicker. It is caused by the getDefaultStateCasts() from DateTimePicker.
My quick fix is to override it in Flatpickr.php by adding this function:
Evidently for the rangePicker a different fix will be needed.
remedix commentedon Dec 3, 2025
Any updates on this ? I have the same issue when using
->multiplePicker()Fix open issues: dehydration, reactivity, CSS, and tests (#143)
Fix reactive min/max dates, modal loading, time input, and year picker (
coolsam726 commentedon Jun 13, 2026
Fixed in #144 (and #143 where applicable). Closing manually because the PR did not include
Closes #128keywords for auto-close on merge.