Skip to content

Wizard with branching (conditional) pages broken between 5.0.2 and 5.1.0/5.2.5 #6279

@GMacAussie

Description

@GMacAussie

Describe the bug
It seems a change in 5.1.0 broke wizard pages that branch - AKA have conditional page visibility. Edit: I was wrong with the Wizard.js validateCurrentPage() supposition - see comment below.

Version/Branch
5.0.2 works
5.1.0+ fails

To Reproduce
StackBlitz here https://stackblitz.com/edit/js-k2gjhlzu.

Expected behavior
The conditional page handling correctly resets data from hidden wizard pages so that page navigation is correct.

Screenshots
See StackBlitz.

Additional context
Our forms were created with 4.14.0 where wizard branching worked correctly. Upgrading to 5.2.5 results in aberrant behaviour.

Version 5.0.2 has correct behaviour.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions