@processmaker/screen-builder 2.21.0 → 2.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue-form-builder.common.js +139 -124
- package/dist/vue-form-builder.common.js.map +1 -1
- package/dist/vue-form-builder.umd.js +139 -124
- package/dist/vue-form-builder.umd.js.map +1 -1
- package/dist/vue-form-builder.umd.min.js +3 -3
- package/dist/vue-form-builder.umd.min.js.map +1 -1
- package/package-lock.json +19334 -0
- package/package.json +1 -1
- package/src/components/.DS_Store +0 -0
- package/src/mixins/extensions/DefaultValues.js +5 -1
package/package.json
CHANGED
|
Binary file
|
|
@@ -35,7 +35,11 @@ export default {
|
|
|
35
35
|
get: new Function(`return this.tryFormField(${JSON.stringify(name)}, () => ${value});`),
|
|
36
36
|
set() {},
|
|
37
37
|
};
|
|
38
|
-
|
|
38
|
+
|
|
39
|
+
// Do not reset default values on nested objects after a data has changed
|
|
40
|
+
const watchOptions = { deep: false };
|
|
41
|
+
|
|
42
|
+
this.addWatch(screen, defaultComputedName, `!this.${name}_was_filled__ && this.setValue(${JSON.stringify(name)}, this.${defaultComputedName}, this.vdata, this);`, watchOptions);
|
|
39
43
|
},
|
|
40
44
|
},
|
|
41
45
|
mounted() {
|