react-native-picker-select
react-native-picker-select copied to clipboard
Warning: Failed prop type: Invalid prop `items` of type `object` supplied to `RNPickerSelect`, expected an array.
` <View style={Styles.mainInput}> <RNPickerSelect Icon={() => <AntDesign name='down' size={20} color='black' />} placeholder={{ label: "education", value: "", }} value={values.education} onValueChange={handleChange("education")} items={[ { label: "single", value: "single" }, { label: "married", value: "married" }, { label: "widowed", value: "widowed" }, { label: "divorced", value: "divorced" }, ]} /> </View>
` how can solve this
@Mersall this issue was automatically closed because it did not follow one of the available issue templates. See here for available options.