-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Live Preview View Custom Component is not working #8273
Labels
Comments
tsemachh
added
status: needs-triage
Possible bug which hasn't been reproduced yet
v3
labels
Sep 18, 2024
tsemachh
changed the title
Live Preview Custom Component is not working
Live Preview View Custom Component is not working
Sep 18, 2024
If needed I can post a PR , not a big change |
github-actions
bot
removed
the
status: needs-triage
Possible bug which hasn't been reproduced yet
label
Sep 20, 2024
This comment has been minimized.
This comment has been minimized.
PR is opened that addresses this issue. |
kendelljoseph
added a commit
that referenced
this issue
Oct 30, 2024
This issue has been automatically locked. |
This is released as of beta 122 I believe |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Link to reproduction
No response
Environment Info
Describe the Bug
We try and follow documentation at:
https://payloadcms.com/docs/beta/admin/views#document-views
But this is not working because of missing code which should handle it.
File: packages/next/src/views/Document/getViewsFromConfig.tsx - Lines 312-325
The preview case is not handling the CustomView - aka:
Reproduction Steps
In payload.config.ts define next customization in one of the Collections:
Expected behavior is that customized live preview view will replace default live preview view , but we got the default.
Adapters and Plugins
No response
The text was updated successfully, but these errors were encountered: