We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Fields are not rendered when type Array has a custom field which can be just a wrapper for ArrayField
Please watch the video and check the code sample
https://github.com/ruslan-amboss/payload-test/tree/custom-array-field-lost/test/_community/collections/Posts
fields: [ { type: "array", name: "testPayload", admin: { components: { Field: "./globals/ArrayFieldCustom.tsx#ArrayFieldCustom", }, }, fields: [ { name: 'itemName', type: "text", }, ], }, ],
"use client"; import type { ArrayFieldClientProps } from "payload"; import { ArrayField } from "@payloadcms/ui"; export const ArrayFieldCustom = (props: ArrayFieldClientProps)=> { return ( <> <ArrayField {...props} /> </> ); }
Not sure
Payload: 3.5.0 Next: 15.0.4
The text was updated successfully, but these errors were encountered:
eb037a0
🚀 This is included in version v3.9.0
Sorry, something went wrong.
This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.
jacobsfletch
Successfully merging a pull request may close this issue.
Describe the Bug
array-fields-not-rendered.mov
Fields are not rendered when type Array has a custom field which can be just a wrapper for ArrayField
Please watch the video and check the code sample
Link to the code that reproduces this issue
https://github.com/ruslan-amboss/payload-test/tree/custom-array-field-lost/test/_community/collections/Posts
Reproduction Steps
Which area(s) are affected? (Select all that apply)
Not sure
Environment Info
The text was updated successfully, but these errors were encountered: