#Adding Custom Components/Fields to Sections?
5 messages · Page 1 of 1 (latest)
Original message from @full loom - Moved from #general message
Help is on the way! To mark it as solved, use the /solve command. In the meantime, here are some existing threads that may help you:
Documentation:
- Collection Configs - Admin Options
- React Hooks - useFormFields
- The Admin Panel
- Fields Overview - Admin Options - Custom Components - Field - TypeScript
Community-Help:
Hey @full loom,
So that component particularly, which renders out the email and password fields, is not customizable at this time. Although, you might be able to write your own email field in your auth collection for some customization here but I'm not entirely certain it will work as I've personally never tried overwriting the default auth fields added to auth collections.
In practice, that component is here: https://github.com/payloadcms/payload/blob/main/packages/ui/src/views/Edit/index.tsx#L553
The component itself looks like this: https://github.com/payloadcms/payload/blob/main/packages/ui/src/views/Edit/Auth/index.tsx#L23