Hi Team,
I have a custom Carousel Component inheriting from Core Carousel.
The carousel has slick slider implemented in it. The markup is minimally changed other than addition of a <div> container which has slick slider dependency.
<div
class="${wcmmode.edit ? 'carousel__authoring' : ''} carousel__item-wrapper ${carousel.navigationIcon} ${carousel.navigatorsOverlapping} ${carousel.autoplay}"
data-slick='{"autoplay": ${carousel.autoplay}, "pauseOnHover": ${carousel.autopauseDisabled}}'
data-visible-items="${carousel.slideCount}"
data-prev-icon="icon-left-arrow-black"
data-next-icon="icon-right-arrow-black">
In HTML when I use the data-cmp-data-layer attribute for carousel and its items, the json is correctly generated -
![Rohan_Garg_0-1665477041310.png Rohan_Garg_0-1665477041310.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/48903iEDC2D8953C683A67/image-size/large/is-moderation-mode/true?v=v2&px=999)
However, when seen in the adobe.getState() The carousel items are shown as image nodes with parentId pointing to carousel.
![Rohan_Garg_1-1665477116475.png Rohan_Garg_1-1665477116475.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/48904iD3963C751902BF13/image-size/large/is-moderation-mode/true?v=v2&px=999)
Can you please help as to why the data-layer changes from carousel-item to image nodes with parentId pointing to carousel ?
@arunpatidar , @Ritesh_Mittal , @B_Sravan , @Mohit_KBansal , @Gaurav-Behl
Thanks,
Rohan Garg