How to stop "Attach" action in a Relation Manager if the parent resource form is dirty (unsaved)?

Hi everyone 👋, I want to prevent the execution of the "Attach" action in a Relation Manager if the parent resource form has unsaved changes. isDirty() on the owner record doesn't reflect Livewire form changes. and I’ve already made the relevant fields live() Thanks in advance for any tips!
1 Reply
Omar Alnabris
Omar AlnabrisOP2w ago
I tried to use livewire event and listener to pass the changes from parent resource to child relation manger, but for some reason it didn't work too.

Did you find this page helpful?