@harbor-design/proform 1.4.8 → 1.4.9

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -853,7 +853,7 @@ class yr {
853
853
  })), o.isGroupSchema(e) && e.children.forEach((i) => {
854
854
  this.createModel(i, t);
855
855
  }), o.isItemSchema(e) && S(() => {
856
- if ("defaultValue" in e)
856
+ if ("defaultValue" in e && !t[e.field])
857
857
  this.setModel(t, e.field, e.defaultValue);
858
858
  else {
859
859
  if (o.isFunction(e.field) && D(t, e.field()))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harbor-design/proform",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",