Phil
Hydrate Select with key => value state
I use the select field with values that are retrieved via API.
To do this, I return a Key => Value array in getSearchResultsUsing().
This also works when creating the record. The selected keys are saved correctly and Value is displayed.
If I open the form later for editing, only the saved keys are displayed. Now I try to use mutateFormDataBeforeFill or afterStateHydrated to transform the keys into a Key => Value Array.
However, the Select field then remains empty. There was a question about this on Github last year that was not answered.
https://github.com/filamentphp/filament/discussions/9941
2 replies
Large repeater list updates very slowly
I have a form with a repeater list that has about 230 entries with 4 fields each.
One field shows a price reduction in percent and another field shows the new price.
Basically everything works, but the response takes 5-6 seconds for each change to the discount. In the response I see that almost 4 MB of data is returned.
Can I somehow specify that only the fields in the repeater item are updated and not the entire form?
Translated with DeepL.com (free version)
5 replies
app.blade.php missing
I am currently trying to overwrite the HTML layout of my filament application.
According to Google, there should be a file under resources/views/components/layout/app.blade.php. This does not exist for me.
If I create one manually, it is not displayed.
User version 3.2.70
3 replies