payload icon indicating copy to clipboard operation
payload copied to clipboard

Not all props are being passed into custom view when `relationTo` is opened in a Drawer

Open ahmetskilinc opened this issue 9 months ago • 1 comments

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.

Screenshot 2024-05-18 at 21 21 33

For reproduction repo -

Go to media, add new media, and then go to users, click 'Choose existing' and check console.

ahmetskilinc avatar May 18 '24 20:05 ahmetskilinc