Hi all,
I’ve built custom save and cancel buttons on a Skuid page I’ve built which includes multiple page includes. Right now they both enabled at all times. Ideally I would like to enable the buttons only when at least one of the models detected on the page has unsaved changes as it seems more user-friendly.
Has anyone done something similar? I checked the events documentation, but nothing quite seemed to fit. I’m sure I could hack something together, like using a setInterval function to poll for changes, but I’m wondering if anybody has any better solutions?
Thanks in advance!
Question
Event listener for changes in all models
This topic has been closed for replies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.