generated from payloadcms/plugin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Summary
Expose a configuration to hide the baseFields defined in src/collection/index.ts when using withUsersCollection/withAccountCollection.
Problem
I don’t want the baseFields visible in the admin UI. At the moment I’m overriding the object returned from withUsersCollection/withAccountCollection to hide them.
Desired behavior
Add a config option that controls visibility of baseFields.
Current workaround
I’m currently overriding the object from withUsersCollection/withAccountCollection and adding hidden true.
Screenshot with hidden false:
Thank you for making this plugin! Let me know if you want me to raise a PR
Metadata
Metadata
Assignees
Labels
No labels