-
PackageForm builder Package Version3.2 How can we help you?I have a wizard with 3 steps and the last step does not trigger any method for validation. Both step 1 and step 2 will trigger the beforeValidation and afterValidation methods. The last step only has the save button assigned with the submitAction method which does not trigger the beforeValidation and afterValidation methods. I have also tried using: None of these are triggered when I hit the save button. Is there any way to perform a final validation before saving? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Try
|
Beta Was this translation helpful? Give feedback.
-
Are you using a custom livewire component or a resource? |
Beta Was this translation helpful? Give feedback.
Turns out it was an issue in my view file
I had
<form wire:submit="update">
and should have
<form wire:submit="save">
And not having an update method in my class was causing Model->update() to be called which does not have any of the hooks provided.