I have a component with a jss-form
placeholder inside it. I added two renderings with different placeholder signatures to make it into a Dynamic Placeholder. These are as follows:
- FormA:
/jss-main/jss-form-{b0898e09-ea46-48b0-becb-03f97a38f493}-0
- FormB:
/jss-main/jss-form-{b0898e09-ea46-48b0-becb-03f97a38f493}-1
I have set two placeholder settings on my main component's presentation details
jss-main
jss-form
However, the Layout Service only returns FormA under jss-form
:
Therefore this:
<Placeholder name="jss-form" rendering={rendering} />
<Placeholder name="jss-form" rendering={rendering} />
Becomes:
<FormA />
<FormA />
But if I change the signature of FormB to that of FormA, I get both of them twice!
<FormA />
<FormB />
<FormA />
<FormB />
I'm using Sitecore 9.3 and I'm doing a Sitecore-first approach with the Embedded JSS application, so I manually create my placeholders and renderings and stuff. Can anyone point out where I did wrong here?