F
Filament5mo ago
Mikail

Customizing data before filling the form

mutateFormDataBeforeFill doesn't work in infolist. the method doesn't get called at all. Wondering what i did wrong.
Solution:
mutateFORMDataBeforeFill is for forms as the name states. I don't think there is a similar method for infolists and I don't think it's necessary because you can just manipulate the ouput on a field level via ->formatStateUsing()
Jump to solution
2 Replies
Solution
Dennis Koch
Dennis Koch5mo ago
mutateFORMDataBeforeFill is for forms as the name states. I don't think there is a similar method for infolists and I don't think it's necessary because you can just manipulate the ouput on a field level via ->formatStateUsing()
Want results from more Discord servers?
Add your server