You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone, a big shoutout to Payload and its vibrant community. It's been a while that I have been using Payload as a backend and CMS for my next project and I am really excited about that. The progress that Payload has made is remarkable and that's brilliant. Hoping for even more!! :)
Now back to the topic :)
I have two collections Context and Grid.
In Context collection I have an array of keys in sth like the following:
Now In Grid collection what I am trying to achieve is to have a relationship pointing to Context and an array of Properties (Grid.Properties) which will be populated by the Context.Properties (by inheritance) but also have additional fields (ie. include the key but have also a type, label and other fields.
The Grid.Properties and Context.Properties shall be in sync.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone, a big shoutout to Payload and its vibrant community. It's been a while that I have been using Payload as a backend and CMS for my next project and I am really excited about that. The progress that Payload has made is remarkable and that's brilliant. Hoping for even more!! :)
Now back to the topic :)
I have two collections
Context
andGrid
.In
Context
collection I have an array of keys in sth like the following:Now In
Grid
collection what I am trying to achieve is to have a relationship pointing toContext
and an array ofProperties
(Grid.Properties
) which will be populated by theContext.Properties
(by inheritance) but also have additional fields (ie. include the key but have also atype
,label
and other fields.The
Grid.Properties
andContext.Properties
shall be in sync.(The use of hooks could be a solution to that)
Waiting for your thoughts...
Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions