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

Cannot inspect component's form props using React Dev Tools #332

Closed
nmkedziora opened this issue Oct 18, 2017 · 1 comment
Closed

Cannot inspect component's form props using React Dev Tools #332

nmkedziora opened this issue Oct 18, 2017 · 1 comment
Labels

Comments

@nmkedziora
Copy link

nmkedziora commented Oct 18, 2017

Hi Guys,
I've tried on my own to debug or to find similar issue but failed many times.

I want to use mobex-react-form, so went through docs and tutorial, then created sample form and finally the exact copy of form-quickstart published on codesandbox .
The form works perfectly fine, but I encountered an error when trying to inspect component in React Developer Tools.
Error:
this.validator is undefined (Firefox) / Cannot read property 'error' of undefined (Chrome) - Form.js:195

Here you can find my form deployed
and here the source code.

So what I did, step by step:

  1. Opened React Developer Tools
  2. Found form component:
  3. After clicking on the component I saw it's Props visible in panel on the right.
  4. When I clicked on form Props to open it and see the content, an error occurred and opening was impossible.

Please find PrintScreens below:
Firefox
firefox-2017-10-18 14-42-54

Chrome
chrome-2017-10-18 14-40-25

I've tried on different browsers (OS Ubuntu 17.04).
Firefox Quantum 57.0b3 (64-bit)
Google Chrome Version 60.0.3112.113 (Official Build) (64-bit)

Both web browsers with React Developer Tools installed - version 2.5.2
Also, I use create-react-app without ejecting, so there is default webpack build (maybe that causes the error (?)).

I checked https://foxhound87.github.io/mobx-react-form-demo/demo.html as well, but the error doesn't occur here.

I would be grateful for your assistance.
Natalia

@foxhound87
Copy link
Owner

foxhound87 commented Oct 19, 2017

Hi @nmkedziora,

I think it's a mobx issue, I found these issues which are labeled wontfix:

mobxjs/mobx#752
mobxjs/mobx#610
mobxjs/mobx#410

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

No branches or pull requests

2 participants