fix: remove "Allow multiple selection" from multiple locale files (#6515)

* fix: remove "Allow multiple selection" from multiple locale files

* chore: format

* feat(client): add visibility control for allowMultiple

* Revert "fix: remove "Allow multiple selection" from multiple locale files"

This reverts commit 9d63791d1fced73e6860bcf5c8987a5f15ecac79.
This commit is contained in:
Zeke Zhang 2025-03-24 20:34:06 +08:00 committed by GitHub
parent 3b86eccca4
commit 2fefcfbcf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1088 additions and 1084 deletions

View File

@ -126,6 +126,10 @@ export const getAllowMultiple = (params?: { title: string }) => {
return {
name: 'allowMultiple',
type: 'switch',
useVisible() {
const isAssociationField = useIsAssociationField();
return isAssociationField;
},
useComponentProps() {
const { t } = useTranslation();
const field = useField<Field>();