react-native-material-dropdown icon indicating copy to clipboard operation
react-native-material-dropdown copied to clipboard

how to disable line at bottom of dropdown textfield?

Open sushant1408 opened this issue 5 years ago • 8 comments

sushant1408 avatar May 13 '20 07:05 sushant1408

pass the following prop lineWidth={0} to disable line at bottom of dropdown

kashif-sk avatar Jun 15 '20 09:06 kashif-sk

inputContainerStyle={{ borderBottomWidth: 0, }}

twinkle039 avatar Aug 06 '20 09:08 twinkle039

Add following props to Dropdown: inputContainerStyle={{ padding: 15, borderBottomColor: 'transparent' }}

Eg: <Dropdown value={'All Activity'} itemColor={'#33475A'} useNativeDriver={true} inputContainerStyle={{ borderBottomColor: 'transparent' }} />

vivek2dx avatar Aug 12 '20 04:08 vivek2dx

nothing above is working.

P.S i am using react-native-material-dropdown-v2-fixed

Saqib92 avatar Jun 05 '21 09:06 Saqib92

Try passing underlineColor='transparent' to Dropdown component

Clumsynite avatar Jun 07 '21 14:06 Clumsynite

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.

Saqib92 avatar Jun 08 '21 07:06 Saqib92

textColor prop should work

Clumsynite avatar Jun 11 '21 15:06 Clumsynite

textColor was Not working. I didn't get my expected result so I switched to react-native-picker

Saqib92 avatar Jun 12 '21 06:06 Saqib92