filament/filament
v3.2.90
v10.48.12 (also applies to v11.10.0 as shown by the reproduction repository)
No response
8.3.7
On an EditRecord page for my resource, I added 2 header actions that update a datetime field in my Model (set as datetime cast with no mutator/accessor).
This field is displayed using the Forms\Components\DateTimePicker component, without any extra logic.
When I call the refreshFormData
method in my action ($this->refreshFormData(['registration_end']);
, the DateTimePicker's value is cleared even though a value is set in the database.
If I change the field type to TextInput, the update is shown immediately.
The DateTimePicker field value should be updated according to new model value, without having to refresh the page
To confirm, change field type to TextInput and repeat action calls, refresh will be performed properly
https://github.com/3rgo/filament-refreshformdata-datetimepicker
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too