From fd4b42751876ddca794f6f01170010522a569df6 Mon Sep 17 00:00:00 2001 From: Daniel Herrero Date: Tue, 6 Feb 2018 09:33:37 +0100 Subject: [PATCH] bug fixed watcher --- client/core/src/watcher/watcher.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/core/src/watcher/watcher.js b/client/core/src/watcher/watcher.js index 0e4dfc083..50dab47cf 100644 --- a/client/core/src/watcher/watcher.js +++ b/client/core/src/watcher/watcher.js @@ -149,6 +149,8 @@ export default class Watcher extends Component { updateOriginalData() { this.orgData = this.copyInNewObject(this.data); + if (this.form && this.form.$dirty) + this.form.$setPristine(); } copyInNewObject(data) {