Skip to content
New issue

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

Input disappeared in multiple nested branches in a single page #52

Open
jekayode opened this issue Aug 22, 2020 · 0 comments
Open

Input disappeared in multiple nested branches in a single page #52

jekayode opened this issue Aug 22, 2020 · 0 comments

Comments

@jekayode
Copy link

jekayode commented Aug 22, 2020

In a case where I have multiple nested branches on a single form, the later steps disappear.

For example, I have a color main branch with two dependent branches and another main branch for size, I noticed that the sizes main branch and all the child branch will not show.

<div class="step" data-state="color">
	<p>Which color do you like best?</p>
	<label for="colorPink"><input type="radio" name="color" value="pink" id="colorPink" />Pink</label>
	<label for="colorBlue"><input type="radio" name="color" value="blue" id="colorBlue" />Blue</label>
</div>

<div class="branch" id="pink">
	<div class="step" data-state="end">
		<p class="pink">Pink, it was love at first sight</p>
	</div>
</div>

<div class="branch" id="blue">
	<div class="step" data-state="end">
		<p class="blue">I'm blue da ba dee da ba die...</p>
	</div>
</div>

<!-- This code is not rendered -->
                    
<div class="step" data-state="size">
	<p>Which Size</p>
	<label for="sizeOne"><input type="radio" name="size" value="1" id="sizeOne" />1</label>
	<label for="sizeTwo"><input type="radio" name="size" value="2" id="sizeTwo" />2</label>
</div>

<div class="branch" id="1">
	<div class="step" data-state="end">
		<p class="pink">Size 1</p>
	</div>
</div>

<div class="branch" id="2">
	<div class="step" data-state="end">
		<p class="blue">Size 2</p>
	</div>
</div>

<!-- /This code is not rendered -->

<div class="step" id="end">
	<p>FIN.</p>
</div>

Is there a config setting that I need to change?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant