Identify which model has unsaved changes

skuid.model.list() is how you can see the models in the console.

Then you could use this snippet to show which have unsaved changes.

var $ = skuid.$; $.each(skuid.model.list(),function(m,model){ if(model.hasChanged){ console.log(model.id); } });<br>
1 Like