Skip to content

Conversation

zeel
Copy link
Collaborator

@zeel zeel commented Oct 7, 2019

Fixed #153

@zeel
Copy link
Collaborator Author

zeel commented Jan 8, 2020

@newbreedofgeek Can we merge this PR?

@zeel zeel closed this Jan 8, 2020
@zeel zeel reopened this Jan 8, 2020
@@ -29,7 +29,7 @@ export default class StepZilla extends Component {
} else {
// check if isValidated was exposed in the step, if yes then set initial state as not validated (false) or vice versa
// if HOCValidation is used for the step then mark it as "requires to be validated. i.e. false"
i.validated = i.component.type && i.component.type.prototype && i.component.type.prototype.isValidated && this.isStepAtIndexHOCValidationBased(idx) ? false : true;
i.validated = i.component.type && i.component.type.prototype && i.component.type.prototype.isValidated && !this.isStepAtIndexHOCValidationBased(idx) ? false : true;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately does not fix it @zeel-swiggy - when you make this change it stop your jumping to Step 4, but it wont stop you from jumping to step 5 (i.e. it skips validation check for HOCValidation Step)

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

Successfully merging this pull request may close these issues.

[BUG] stepsNavigation allows you jump past steps that need validation
3 participants