We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eae2b5d commit 672b991Copy full SHA for 672b991
components/form/FormItem.tsx
@@ -308,7 +308,7 @@ export default defineComponent({
308
const value = fieldValue.value;
309
const prop = getPropByPath(model, namePath.value, true);
310
if (Array.isArray(value)) {
311
- prop.o[prop.k] = [].concat(initialValue.value);
+ prop.o[prop.k] = [].concat(initialValue.value ?? []);
312
} else {
313
prop.o[prop.k] = initialValue.value;
314
}
0 commit comments