What happened?
When using reactivity in a filament form, if I try to change the date of the Flatpickr using $set('date'), nothing happens.
How to reproduce the bug
Create a form with 2 inputs, have one of them update the Flatpickr instance when it changes using afterStateUpdated.
// ...Example filament form schema
[
TextInput::make('date_str')
->live()
->afterStateUpdated(function (Get $get, Set $set) {
$dateStr = $get('date_str'); // I have entered 2026-01-16
$set('date', $dateStr);
}),
Flatpickr::make('date')
]
Note: This will work when using the built-in DatePicker component.
Package Version
5.0.0
PHP Version
8.4.15
Laravel Version
12.46.0
Which operating systems does with happen with?
Linux
Notes
No response
What happened?
When using reactivity in a filament form, if I try to change the date of the Flatpickr using
$set('date'), nothing happens.How to reproduce the bug
Create a form with 2 inputs, have one of them update the Flatpickr instance when it changes using
afterStateUpdated.Note: This will work when using the built-in DatePicker component.
Package Version
5.0.0
PHP Version
8.4.15
Laravel Version
12.46.0
Which operating systems does with happen with?
Linux
Notes
No response