attribute.getIsDirty (Client API reference)

Returns a boolean value indicating if there are unsaved changes to the column value. An unsaved change to a column value means the client value is different from the last known committed value retrieved from Dataverse by the client from runtime.

Column types supported

All

Syntax

formContext.getAttribute(arg).getIsDirty()

Return Value

Type: Boolean

Description: True if there are unsaved changes, otherwise false.