lawnstarter / react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
https://npmjs.com/package/react-native-picker-select
MIT License
1.74k stars 499 forks source link

Warning: Failed prop type: Invalid prop `items` of type `object` supplied to `RNPickerSelect`, expected an array. #426

Open Mersall opened 3 years ago

Mersall commented 3 years ago

Describe the bug
There is an error when I use the RNPicker component

To Reproduce
Steps to reproduce the behaviour:

  1. Go to the parent component
  2. Click on nothing it shows once the component render
  3. See an error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
Add screenshots to help explain your problem. If screenshots aren't applicable to this issue, write "n/a".

Screen Shot 2021-03-14 at 12 06 28 PM

Additional details

Reproduction and/or code sample
Provide a link to a reproduction of this issue on https://snack.expo.io or an explanation why you can not. Not including a snack link will result in a significant delay in our ability to address this issue.