savannabits / filament-flatpickr

Extend your Filament Date-Picking with Flatpickr
MIT License
43 stars 31 forks source link

[Bug]: Datetime Picker field submits Null #35

Closed chrisreedio closed 10 months ago

chrisreedio commented 10 months ago

What happened?

To put the form component in my form and be able to pick a date and have that submitted to my livewire form handler.

Flatpickr::make('my_date_field'),

If I dd out the submitted data, the field is there but it's always null.

How to reproduce the bug

I added a simple flatpicker form component to a form with no additional options.

I picked a date.

The submitted field is always null.

Package Version

3.0.0

PHP Version

8.1

Laravel Version

10

Which operating systems does with happen with?

macOS, Windows, Linux

Notes

The normal DatePicker works so it does appear that there is an issue with this plugin.

Looking forward to helping bring a resolution to this. Let me know if there is any more information I can provide.

Thanks!

coolsam726 commented 10 months ago

Thanks, @chrisreedio for catching this. The bug has been fixed in v3.0.1.

chrisreedio commented 10 months ago

Tested and it works! Super fast turn around!

Thanks so much! 🚀