Merge branch 'main' into next

This commit is contained in:
GitHub Actions Bot 2024-08-08 07:25:34 +00:00
commit 35a36d28dd

View File

@ -364,9 +364,10 @@ export const selectComponentFieldSettings = new SchemaSettings({
{ {
...allowMultiple, ...allowMultiple,
useVisible() { useVisible() {
const isFieldReadPretty = useIsFieldReadPretty();
const isAssociationField = useIsAssociationField(); const isAssociationField = useIsAssociationField();
const IsShowMultipleSwitch = useIsShowMultipleSwitch(); const IsShowMultipleSwitch = useIsShowMultipleSwitch();
return isAssociationField && IsShowMultipleSwitch(); return !isFieldReadPretty && isAssociationField && IsShowMultipleSwitch();
}, },
}, },
{ {