Mutate data on relation manager
Hey, I'm wishing to mutate data on the relation manager like on the edit or create page because I have some fields that can't be used as is
Is there any way to do it like in pages of resources but inside the relation manager by any way ?
Solution:Jump to solution
found out the form can't do that tho the edit and create action can π
for EditAction:
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/edit#customizing-data-before-filling-the-form
for CreateAction:
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#customizing-data-before-saving...
2 Replies
wouldn't you just do this on the form of the releationship manager?
Solution
found out the form can't do that tho the edit and create action can π
for EditAction:
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/edit#customizing-data-before-filling-the-form
for CreateAction:
https://filamentphp.com/docs/3.x/actions/prebuilt-actions/create#customizing-data-before-saving