mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
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:
parent
3b86eccca4
commit
2fefcfbcf2
File diff suppressed because it is too large
Load Diff
@ -126,6 +126,10 @@ export const getAllowMultiple = (params?: { title: string }) => {
|
|||||||
return {
|
return {
|
||||||
name: 'allowMultiple',
|
name: 'allowMultiple',
|
||||||
type: 'switch',
|
type: 'switch',
|
||||||
|
useVisible() {
|
||||||
|
const isAssociationField = useIsAssociationField();
|
||||||
|
return isAssociationField;
|
||||||
|
},
|
||||||
useComponentProps() {
|
useComponentProps() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const field = useField<Field>();
|
const field = useField<Field>();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user