Open
Description
Describe the bug
Picker drawer is showing but the item is empty
To Reproduce
Steps to reproduce the behavior:
- Run the app
- Click on RNPickerSelect Component
- Picker drawer shows up but it is empty
Expected behavior
The picker drawers should've rendered the items.
Screenshots
Additional details
- Device: iPhone 16 Pro Simulator
- OS: iOS 18
- react-native-picker-select version: 9.3.1
- react-native version: 0.76.6
- expo sdk version: 52.0.25
Reproduction and/or code sample
enum TaskPriority {
LOW = 'LOW',
MEDIUM = 'MEDIUM',
HIGH = 'HIGH',
}
<RNPickerSelect
textInputProps={{ pointerEvents: 'none' }}
onValueChange={(value) => setPriority(value)}
items={
[
{ label: 'LOW', value: TaskPriority.LOW },
{ label: 'MEDIUM', value: TaskPriority.MEDIUM },
{ label: 'HIGH', value: TaskPriority.HIGH },
]
}
style={pickerSelectStyles}
placeholder={{ label: "Select priority", value: null }}
/>
Metadata
Metadata
Assignees
Labels
No labels