Internal
Experimental
EDIT_TRACKING
array must be defined to declare what fields are being tracked for editing.In sheet body define the following
// Init data
_activeEdits = {};
// Define fields to track
static EDIT_TRACKING = ["system.description.value", "system.description.unidentified"];
// Override
async _render(force, options) {
pf1.applications.utils.saveEditState(this, options);
return super._render(force, options);
}
Save edit state