entity.getIsDirty (Client API reference)
Gets a boolean value indicating whether any columns in the form have been modified.
Syntax
formContext.data.entity.getIsDirty();
Return Type
Type: Boolean
Description: true if any columns in the form have been changed; false otherwise.