Override PayloadCMS Auto-Generated Fields While Preserving Default Options #12782
Unanswered
only-issues
asked this question in
Q&A
Replies: 0 comments
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.
-
Hello PayloadCMS community and team, I'm not sure how to override automatically generated fields by Payload while still preserving the validation, hooks, and other default options except for the properties I want to override.
For example:
When I configure this in my
Users
collection, Payload automatically creates ausername
field, but I want to add some custom functionality to that field.For example:
At this point, I'm unsure whether Payload still maintains the default
TextField
options for theusername
field or not.Beta Was this translation helpful? Give feedback.
All reactions