How to modify data before validation in simple(modal) resource
beforeValidate()
is working on normal resource page, but it didn't work on simple(modal) resource
i can't see dd()
message after submit the form in the modal
2 Replies
afterStateUpdated would really be the only way to modfiy the data after input.
I have a resource pages, the
beforeValidate()
is work perfect
so it means in simple(modal) resource, there is no method to modify the data before validation? because there is only one file inside the pages folder
Thankyou toeknee, so it means when i use modal, afterStateUpdated is the only way to modify state before validation?