Hello everybody,
I’ve created a component entitled “Deroulant-Navbar” who’s calling himself the component “Lien-Navbar”.
In my collection type “Barre-de-navigation”, I’ve created a entry with title “titre” and a Deroulant-Navbar who contains a element “Lien-Navbar” entitled “TEEEEEEEEST”.
Screenshot here :
When I fetch by this way : http://localhost:1337/api/navigations/8?populate=*
I have the following answer :
{
“data”:{
“id”:8,
“attributes”:{
“createdAt”:“2023-10-27T10:05:03.371Z”,
“updatedAt”:“2023-10-27T10:21:45.869Z”,
“publishedAt”:“2023-10-27T10:05:04.789Z”,
“titre”:“Mon Onglet”,
“lien_navbar”:[
{
“id”:3,
“__component”:“composants.deroulant-navbar”,
“titre_du_menu”:“Titre du menu”
}
]
}
},
“meta”:{
}
}
As you can see, in my reponse, I have my “__component”:“composants.deroulant-navbar” but i don’t have my “TEEEEEEEEST” sub-component… how can I access to all sub-components for my main component “deroulant-navbar” ?
Thanks a lot !