payload
payload copied to clipboard
Not all props are being passed into custom view when `relationTo` is opened in a Drawer
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 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.
For reproduction repo -
Go to media, add new media, and then go to users, click 'Choose existing' and check console.