Payload is the open-source, fullstack Next.js framework, giving you instant backend superpowers. Get a full TypeScript backend and admin panel instantly. Use Payload as a headless CMS or for building powerful applications.
When using a custom view and you open that collection in a Drawer the props arent all there.
E.g. You have a media collection and a user collection
The user collection has a photo field which has relationTo: 'media'
When you click 'Choose from existing' not all of the props are passed, only collectionSlug is passed.
Similar to payloadcms/payload-3.0-demo#204
When using a custom view and you open that collection in a Drawer the props arent all there.
E.g. You have a
media
collection and auser
collection The user collection has aphoto
field which hasrelationTo: 'media'
When you click 'Choose from existing' not all of the props are passed, onlycollectionSlug
is passed.For reproduction repo -
Go to media, add new media, and then go to users, click 'Choose existing' and check console.