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.