Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ahmetskilinc opened this issue May 18, 2024 · 1 comment

Comments

@ahmetskilinc
Copy link
Contributor

ahmetskilinc commented May 18, 2024

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
Copy link
Contributor Author

Probably a non-issue as using hooks provided by Payload is much easier and its all typed.

@denolfe denolfe transferred this issue from payloadcms/payload-3.0-demo May 22, 2024
@denolfe denolfe added the v3 label May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants