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

Inner required fields in shaped props not reported properly #2168

Closed
jeanlauliac opened this issue Sep 9, 2014 · 2 comments
Closed

Inner required fields in shaped props not reported properly #2168

jeanlauliac opened this issue Sep 9, 2014 · 2 comments

Comments

@jeanlauliac
Copy link
Contributor

See this example:
http://jsfiddle.net/jeanlauliac/2x3dk23m/1/

The console only report: Warning: Required prop barwas not specified inHello.. It should probably report the whole path to the inner field, such as test.bar.

@zpao
Copy link
Member

zpao commented Sep 9, 2014

I think @petehunt has some in-progress effort to make this better but I haven't heard anything recently… It's definitely a good idea.

@aweary
Copy link
Contributor

aweary commented Sep 19, 2017

This is no longer an issue when using the prop-types library: https://jsfiddle.net/7o687z00/

@aweary aweary closed this as completed Sep 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants