skip to Main Content

How to highlight the selected item in the dropdown list of Picker in react native

I'm using the Picker component of react native and want to apply CSS like background color for the selected item in the dropdown list of Picker. below is my code snippet: <Text style={clStyle.schoolNameLabel}>School Board*</Text> <Picker mode="dropdown" itemStyle={clStyle.schoolNamePickerStyle} style={clStyle.schoolNamePickerStyle} placeholder="Select" selectedValue={values.board_id}…

VIEW QUESTION
Back To Top
Search