Description
I have same field Banner that are clone inside a flexible layout and article post type
When using graphql on these page with flexible layout and article
fields inside banner are dispaying null
Steps to reproduce
import fields
- create a new page and use banner inside the
flexible layout fill the images and text fields
- create a new post and fill the banner content there as well
- query for page as
query page($url:ID!){
page(id:$url,idType:URI){
pageComponents{
pageComponents{
... on PageComponentsPageComponentsBannerLayout{
banner{
title
subTitle
background{
image{
desktop{
node{
mediaItemUrl
}
}
mobile{
node{
mediaItemUrl
}
}
}
}
}
}
}
}
}
}
query for article as
query articles {
posts {
nodes {
articles {
banner {
banner {
banner {
title
subTitle
background {
image {
desktop {
node {
mediaItemUrl
}
}
mobile {
node {
mediaItemUrl
}
}
}
}
}
}
}
}
}
}
}
PHP or JSON export of the ACF Field Group(s)
acf-export-2024-01-11.json.zip
Additional context
example for page

example for article

WPGraphQL Version
1.19.0
WPGraphQL For ACF Version
2.0.0
ACF (Advanced Custom Fields) Version. Free or Pro?
Pro
WordPress Version
6.4.2
PHP Version
8.2
Additional enviornment details
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.
Description
I have same field Banner that are clone inside a
flexible layoutandarticlepost typeWhen using graphql on these page with
flexible layoutandarticlefields inside banner are dispaying null
Steps to reproduce
import fields
flexible layoutfill the images and text fieldsquery for article as
PHP or JSON export of the ACF Field Group(s)
acf-export-2024-01-11.json.zip
Additional context
example for page


example for article
WPGraphQL Version
1.19.0
WPGraphQL For ACF Version
2.0.0
ACF (Advanced Custom Fields) Version. Free or Pro?
Pro
WordPress Version
6.4.2
PHP Version
8.2
Additional enviornment details
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.