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

Expected property <property_name> to be an array but instead got: instance #167

Open
5 of 12 tasks
jscharf opened this issue Jun 1, 2018 · 0 comments
Open
5 of 12 tasks

Comments

@jscharf
Copy link

jscharf commented Jun 1, 2018

BUG REPORT

  • I have ensured that the issue isn't already reported
  • I have confirmed that the issue is reproducible with the latest released version
  • I have deleted the FEATURE REQUEST / CODE CHANGE section

Summary

Expected Behavior

  • A warning should not be logged to the browser console

Actual Behavior

  • What happens instead of the expected behavior?
  • Is something broken, or not behaving as you expected?
  • Attach a screenshot or recording as appropriate.

Possible Solution

Steps to Reproduce

  • Include the contents of your package.json file
  • Steps to reproduce:
    1. Use PropType.array to define a property
    2. Pass in an instance of an array as that property
    3. View browser console for the warning

Context

  • This issue has produced many warnings in the browser console

Environment

(answer all that are applicable)

  • I am using the latest released version (can check with npm ls <package-name>)
  • I am using these browsers:
    • Latest Chrome
    • Latest Firefox
  • My version of Node is: 8.6.0
  • My version of npm is: 5.3.0
  • My OS is:
  • Include the contents of your package.json file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant