react-native-picker-select icon indicating copy to clipboard operation
react-native-picker-select copied to clipboard

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

Open Mersall opened this issue 4 years ago • 1 comments

` <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 avatar Mar 14 '21 10:03 Mersall

@Mersall this issue was automatically closed because it did not follow one of the available issue templates. See here for available options.

lfkwtz avatar Mar 14 '21 10:03 lfkwtz