question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ncaught TypeError: Cannot read property 'isValidated' of undefined

See original GitHub issue

Uncaught TypeError: Cannot read property 'isValidated' of undefined at main.js:71 at Array.map (<anonymous>) at StepZilla.applyValidationFlagsToSteps (main.js:65) at new StepZilla (main.js:53) at ReactCompositeComponent.js:294 at measureLifeCyclePerf (ReactCompositeComponent.js:75)

I have this error.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

2reactions
Mina161commented, Aug 1, 2019

this worked out for me

import validation from 'react-validation-mixin';
import strategy from 'joi-validation-strategy';

//your step component goes here

export default validation(strategy)(your-step-name)

you need to install react-validation-mixin and joi-validation-strategy first

0reactions
Sotrekcommented, Oct 1, 2018

Has anyone found why we are getting that error?

Uncaught TypeError: Cannot read property 'isValidated' of undefined at StepZilla.stepMoveAllowed (main.js:318) at StepZilla.abstractStepMoveAllowedToPromise (main.js:341) at main.js:197 ...

I have followed precisely the example and in particular Step 3 of the example to have two input fields validated but I am getting the above error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: Cannot read property 'validate' of undefined
I am trying to validate my registration form but I'm getting this error and I can't solve it. my form submit button goes...
Read more >
TypeError: Cannot read property 'validate' of undefined? - React
TypeError : Cannot read property 'validate' of undefined? ... “Cannot read property 'validate' of undefined”? Anyone can help in finding the error.
Read more >
TypeError: Cannot read property 'validate' of undefined #2291
I am getting the error TypeError: Cannot read property 'validate' of undefined when running a chai-enzyme test, followed by the warning: ...
Read more >
Cannot read property 'validate' of undefined - Quasar forum
Hi, I am trying to follow the quasar documentation on validation parts. https://quasar.dev/vue-components/input#Validation .
Read more >
Uncaught TypeError: Cannot read property 'messages' of ...
The error happens when the library `cv.jquery.validate` is added by BigPipe and compressed. I just disabled the library compressing in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found