mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
refactor: support linkage rules in the details block to hide(reserved value) (#6031)
This commit is contained in:
parent
9b8c274fc9
commit
a1c0d6b969
@ -29,7 +29,7 @@ export const useLinkageCollectionFieldOptions = (collectionName: string, readPre
|
||||
{ label: t('Value'), value: ActionType.Value, selected: false, schema: {} },
|
||||
].filter((v) => {
|
||||
if (readPretty) {
|
||||
return [ActionType.Visible, ActionType.None].includes(v.value);
|
||||
return [ActionType.Visible, ActionType.None, ActionType.Hidden].includes(v.value);
|
||||
}
|
||||
return v;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user