fix(plugin-workflow): fix CollectionField validation when using variable (#1512)

This commit is contained in:
Junyi 2023-02-28 17:56:23 +08:00 committed by GitHub
parent e752686c7e
commit 05efa41be3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,10 @@ export default observer(({ value, disabled, onChange }: any) => {
type: 'void',
properties: {
[field.name]: {
'x-component': ConstantCompoent
'x-component': ConstantCompoent,
['x-validator']() {
return '';
}
}
}
}}