fix: should show 'Allow multiple selection' in filter form (#6174)

This commit is contained in:
Zeke Zhang 2025-02-08 09:42:17 +08:00 committed by GitHub
parent 48ca650a68
commit 47ee511e52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -443,13 +443,7 @@ export const filterSelectComponentFieldSettings = new SchemaSettings({
return isSelectFieldMode && !isFieldReadPretty;
},
},
{
...getAllowMultiple({ title: 'Allow multiple selection' }),
useVisible() {
const field = useField();
return field.componentProps.multiple !== false;
},
},
getAllowMultiple({ title: 'Allow multiple selection' }),
{
...titleField,
useVisible: useIsAssociationField,