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

fixed #153 #157

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fixed #153 #157

wants to merge 1 commit into from

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