OrdinaryDev
Notify User of unsaved data
ah my bad. I am not seeing a way to utilize the
updated
hook inside of filament. They only over a few hooks and that is not one of them. At least not on the entire form. I can use it on a per field basis, but that is way too tedious.
I did discover there is a getRawState
which returns the current state of the form. So in theory, i should be able to compare the form data, to my eloquent model data and see if there is any changes.
Thanks for pointing me in the right direction!10 replies