What happened?
Using firefox, in the latest version of php, filament and laravel when manually entering a time and clicking outside the field it does not store the entered value and instead reverts to the original/default value when submitting the input.
This bug has been reported on other places for different versions of this package, it seems to still appear in this version tho. Other mentions of this topic: issue
How to reproduce the bug
This bug only appears on Firefox.
- Manually type a different value into the input, something like '8.30' (this will result in '08:30').
- Click anywhere outside the field to close the time popup.
- Save the form.
If you have followed the steps you will find that the resulted value will not be what you've entered but rather the inputs default value.
Input used
Flatpickr::make('start_datetime') ->label(__('registrations.columns.start')) ->disableMobile(true) ->allowInput() ->time24hr(true) ->timePicker() ->seconds(false) ->minuteIncrement(1) ->format('H:i') ->altFormat('H:i') ->default($latestRegistration->end_datetime) ->reactive(),
Package Version
4.1.0 (latest)
PHP Version
8.4.7
Laravel Version
12.3.0
Which operating systems does with happen with?
Windows
Notes
***Edit, NOT only on firefox, also on chrome-based browsers
What happened?
Using firefox, in the latest version of php, filament and laravel when manually entering a time and clicking outside the field it does not store the entered value and instead reverts to the original/default value when submitting the input.
This bug has been reported on other places for different versions of this package, it seems to still appear in this version tho. Other mentions of this topic: issue
How to reproduce the bug
This bug only appears on Firefox.
If you have followed the steps you will find that the resulted value will not be what you've entered but rather the inputs default value.
Input used
Flatpickr::make('start_datetime') ->label(__('registrations.columns.start')) ->disableMobile(true) ->allowInput() ->time24hr(true) ->timePicker() ->seconds(false) ->minuteIncrement(1) ->format('H:i') ->altFormat('H:i') ->default($latestRegistration->end_datetime) ->reactive(),Package Version
4.1.0 (latest)
PHP Version
8.4.7
Laravel Version
12.3.0
Which operating systems does with happen with?
Windows
Notes
***Edit, NOT only on firefox, also on chrome-based browsers