@5minds/node-red-dashboard-2-processcube-dynamic-form 1.0.4 → 1.0.5
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/package.json
CHANGED
|
@@ -126,10 +126,10 @@ export default {
|
|
|
126
126
|
const fieldMap = aFields.map(field => ({
|
|
127
127
|
...field,
|
|
128
128
|
component: mapFieldTypes(field.type),
|
|
129
|
-
items: mapItems(field.type, field)
|
|
129
|
+
items: mapItems(field.type, field),
|
|
130
|
+
value: field.defaultValue || ''
|
|
130
131
|
}))
|
|
131
132
|
|
|
132
|
-
|
|
133
133
|
return fieldMap
|
|
134
134
|
},
|
|
135
135
|
hasFields () {
|