Condition should hide field from filter and grid both #7389
BhargavSuthar99
started this conversation in
Feature Requests & Ideas
Replies: 1 comment
-
Converting this to a feature request discussion. I like the idea of making |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Link to reproduction
No response
Payload Version
3.0.0-beta.43 and 3.0.0-beta.68
Node Version
20.12.12
Next.js Version
15.0.0-canary.53
Describe the Bug
Describe the Bug
Condition function should hide field from column and filter.
Or
Convert disableListFilter and disableListColumn properties to function for hide those fields.
Reproduction Steps
To Reproduce
Open collection page
Make access parameters like read: () => true or false, update: () => false, create: () => false,
Write condition functions to condition: (_, siblingData) => false,
Field is now hidden from page but still visible on collection column and filter page.
2024-07-26_15-24-32.mp4
Adapters and Plugins
No response
Beta Was this translation helpful? Give feedback.
All reactions