fix: array field

This commit is contained in:
chenos 2022-03-03 16:40:24 +08:00
parent 93d521b134
commit 3c55ac7474
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ export const checkboxGroup: IField = {
title: '{{t("Checkbox group")}}', title: '{{t("Checkbox group")}}',
default: { default: {
interface: 'checkboxGroup', interface: 'checkboxGroup',
type: 'json', type: 'array',
// name, // name,
uiSchema: { uiSchema: {
type: 'string', type: 'string',

View File

@ -8,7 +8,7 @@ export const multipleSelect: IField = {
order: 3, order: 3,
title: '{{t("Multiple select")}}', title: '{{t("Multiple select")}}',
default: { default: {
type: 'json', type: 'array',
// name, // name,
uiSchema: { uiSchema: {
type: 'array', type: 'array',