how to disable line at bottom of dropdown textfield?
pass the following prop lineWidth={0} to disable line at bottom of dropdown
inputContainerStyle={{ borderBottomWidth: 0, }}
Add following props to Dropdown: inputContainerStyle={{ padding: 15, borderBottomColor: 'transparent' }}
Eg: <Dropdown value={'All Activity'} itemColor={'#33475A'} useNativeDriver={true} inputContainerStyle={{ borderBottomColor: 'transparent' }} />
nothing above is working.
P.S i am using react-native-material-dropdown-v2-fixed
Try passing underlineColor='transparent' to Dropdown component
Try passing
underlineColor='transparent'to Dropdown component
It Worked. I have one more Question after selection of any option from dropdown how can I change color on selected value (not inside dropdown menu but in textfield.
textColor prop should work
textColor was Not working.
I didn't get my expected result so I switched to react-native-picker