Merge / Mustache Syntax for checking if a Model has Unsaved Changes?

I’ve reviewed this document:

https://docs.skuid.com/latest/v1/en/skuid/merge-syntax/global-merge-variables.html#model

It looks like there’s no way via merge syntax to tell if a model has unsaved changes. Is there any way to do this? I’m looking to put logic into a Formula on a Branch to determine whether or not a model has unsaved changes.

Thanks!

Anything in the model is accessible in the merge syntax.

{{$Model.MODELNAMEHERE.hasChanged}}

Enjoy! :wink:

1 Like

Thank you!