Mutate ManageRelatedRecords data before saving
I'm new to Filament and I can't figure out if it's possible to mutate ManageRelatedRecords before saving the same way as for example in EditRecord
5 Replies
As above? Or as a relationship manager?
I mean a Relation page like here https://filamentphp.com/docs/3.x/panels/resources/relation-managers#relation-pages, so I've created a separate class that extends ManageRelatedRecords, and added it to my resource sub-navigation
But as i see, ManageRelatedRecords doesn't have any method that responsible for data processing or saving
Maybe I should customize CreateAction?
So on the button you can add the mutators to those button actions