fix(selector): button cannot be submitted

This commit is contained in:
chenos 2022-11-08 17:30:16 +08:00
parent 7e947b5f10
commit 72838b7f49

View File

@ -393,6 +393,10 @@ FormItem.Designer = (props) => {
action: tk ? 'get' : null, action: tk ? 'get' : null,
}); });
if (v === 'CollectionField') {
schema['type'] = 'string';
}
insertAdjacent('beforeBegin', divWrap(schema), { insertAdjacent('beforeBegin', divWrap(schema), {
onSuccess: () => { onSuccess: () => {
dn.remove(null, { dn.remove(null, {