What happened?
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'),
Package Version
5.0.0
PHP Version
8.3.21
Laravel Version
v12.36.1
Which operating systems does with happen with?
macOS
Notes
No response
What happened?
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.
Package Version
5.0.0
PHP Version
8.3.21
Laravel Version
v12.36.1
Which operating systems does with happen with?
macOS
Notes
No response