Skip to content

Add option to check if whole object is changed in form autosave #18

@ptanov

Description

@ptanov

#10

add option
var previous = $parse(attrs.seFormAutoSubmitModel)(scope);
SeEventHelperService.whenChanged(scope, attrs.seFormAutoSubmitModel, function(newValue, oldValue) {
if (previous !== newValue) {
// if the whole object is changed - this is not made by user input, but by something else - do not update on server
previous = newValue;
return;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions