mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-02 03:02:19 +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: {} },
|
{ label: t('Value'), value: ActionType.Value, selected: false, schema: {} },
|
||||||
].filter((v) => {
|
].filter((v) => {
|
||||||
if (readPretty) {
|
if (readPretty) {
|
||||||
return [ActionType.Visible, ActionType.None].includes(v.value);
|
return [ActionType.Visible, ActionType.None, ActionType.Hidden].includes(v.value);
|
||||||
}
|
}
|
||||||
return v;
|
return v;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user