How to run a custom “validation” in editAction of an anonymous Volt Filament table component
I have a Filament table being instantiated as an anonymous Livewire Volt component. I want to try to test a connection to an API using the data in the form during an attempted edit from within recordActions(EditAction::make()).
I want this to take place after the data passes standard validation rules. I have found 2 hooks that seem possible: afterFormValidated and mutateFormDataUsing.
I was unable to access the $data var in afterFormValidated. How do I properly get the edited form data after validation, and if necessary abort the operation with validation errors on the form?
I am not really able to find much information at all about these hooks and how to use them.
0 Replies