datastake-daf 0.6.649 → 0.6.650
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/components/index.js
CHANGED
|
@@ -30736,7 +30736,7 @@ function GroupInput({
|
|
|
30736
30736
|
label: null,
|
|
30737
30737
|
name: getFormItemName(i.data),
|
|
30738
30738
|
fieldKey: getFormItemName(i.data),
|
|
30739
|
-
initialValue:
|
|
30739
|
+
initialValue: i.data.value || input?.meta?.defaultValue || defaultvalue,
|
|
30740
30740
|
required: i.data.rules && i.data.rules instanceof Array && i.data.rules.filter(r => r.required).length > 0 ? true : false,
|
|
30741
30741
|
...i.data.props,
|
|
30742
30742
|
children: inputTypeComponent$1[i.type](i.data, {
|
package/package.json
CHANGED
|
@@ -42,7 +42,7 @@ export default function GroupInput({
|
|
|
42
42
|
label={null}
|
|
43
43
|
name={getFormItemName(i.data)}
|
|
44
44
|
fieldKey={getFormItemName(i.data)}
|
|
45
|
-
initialValue={
|
|
45
|
+
initialValue={i.data.value || input?.meta?.defaultValue || defaultvalue }
|
|
46
46
|
required={
|
|
47
47
|
i.data.rules && i.data.rules instanceof Array &&
|
|
48
48
|
i.data.rules.filter(r => r.required).length > 0 ? true : false
|