Disabling action realtime on state change
hey there. I have a custom action in edit resource page given below
What i want, whenever record get dirty I want to disable it. But following code is not reflecting in realtime on state change. what can I do here?
2 Replies
isDirty
will work if you change the model attribute, like this:
But I am using that Action into header in edit page, not inside form input. So I wanted to know is there anything similar way that can be applied in header action?
Okay @Leandro Ferreira now i get your point by that. Thanks it solved.