Phil
Phil
FFilament
Created by Phil on 7/2/2024 in #❓┊help
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
FFilament
Created by Phil on 6/20/2024 in #❓┊help
Get form dirty state in requiresConfirmation method of an action
How do I find out whether a form has been changed? I have a synchronize button that should show a hint if it is pressed and there are unsaved changes
2 replies
FFilament
Created by Phil on 6/15/2024 in #❓┊help
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
FFilament
Created by Phil on 6/14/2024 in #❓┊help
Update Form from Action Modal
No description
5 replies
FFilament
Created by Phil on 4/22/2024 in #❓┊help
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