Make views and fields available for use #1729
HoneySpace
started this conversation in
Feature Requests & Ideas
Replies: 2 comments 2 replies
-
@HoneySpace 💯 this is absolutely going to happen. We're actively laying the groundwork for this right now and it's going to be great. While tables are not available yet, some fields are. The SEO plugin is a good example of this by extending Payload's text, textarea, and upload fields. Check it out: https://github.com/payloadcms/plugin-seo/tree/main/src/fields |
Beta Was this translation helpful? Give feedback.
2 replies
-
Related discussion: #1249 |
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.
-
Idea
Make components from
payload/components/views
andpayload/components/fields
available for use inside of custom components and pages.Use case
Database have two collections A and B
I need to display a table of records form B collection related to an A record in Edit view .
It would be nice to be able to create UI field and just import List view or Cell component from payload, so the table would have the same styling, preferences support, and that would save time, since no need to write own implimentation for rendering fields
Problem
Right now if I try to import components from
payload/components/views
andpayload/components/fields
webpack will throw following errorBeta Was this translation helpful? Give feedback.
All reactions