@dile/ui 3.6.0 → 3.6.3
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.
|
@@ -117,14 +117,22 @@ export const DileForm = (superclass) => class extends superclass {
|
|
|
117
117
|
const value = this.firstValue[fieldName][index];
|
|
118
118
|
const node = this.getNodeElement(name);
|
|
119
119
|
if (node) {
|
|
120
|
-
node.
|
|
120
|
+
if (typeof node.set === "function") {
|
|
121
|
+
node.set(value);
|
|
122
|
+
} else {
|
|
123
|
+
node.value = value;
|
|
124
|
+
}
|
|
121
125
|
}
|
|
122
126
|
}
|
|
123
127
|
} else if (this.firstValue.hasOwnProperty(name)) {
|
|
124
128
|
let value = this.firstValue[name];
|
|
125
129
|
let node = this.getNodeElement(name);
|
|
126
130
|
if (node) {
|
|
127
|
-
node.
|
|
131
|
+
if (typeof node.set === "function") {
|
|
132
|
+
node.set(value);
|
|
133
|
+
} else {
|
|
134
|
+
node.value = value;
|
|
135
|
+
}
|
|
128
136
|
}
|
|
129
137
|
}
|
|
130
138
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dile/ui",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.3",
|
|
4
4
|
"description": "UI Core components from dile-components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "d9fcd6a43318a4407751cdd25f9361502e9d2619"
|
|
32
32
|
}
|