React native 花色苷=';透明';不适用于本机基本输入字段?
UnderlineColandroid道具不工作。输入字段仍存在灰色下划线React native 花色苷=';透明';不适用于本机基本输入字段?,react-native,native-base,React Native,Native Base,UnderlineColandroid道具不工作。输入字段仍存在灰色下划线 <Item style='name_input_container'> <Input style={styles.name_input} autoCorrect={false} placeholder='Enter name' selectionColor='#ffa500' textAlign={'center'} underlineColorAndroid: 'transp
<Item style='name_input_container'>
<Input style={styles.name_input}
autoCorrect={false}
placeholder='Enter name'
selectionColor='#ffa500'
textAlign={'center'}
underlineColorAndroid: 'transparent'
/>
</Item>
将
underlineColorAndroid:'transparent'
更改为underlineColorAndroid='transparent'
,因此最终输出如下:
<Item style='name_input_container'>
<Input style={styles.name_input}
autoCorrect={false}
placeholder='Enter name'
selectionColor='#ffa500'
textAlign={'center'}
underlineColorAndroid='transparent'
/>
</Item>
我还使用underlineColorAndroid='transparent'运行了代码。您使用的是本机基本输入还是react本机输入component@Zeeshan安萨里我用的是土生土长的蛇你说蛇是什么意思?是蛇壳,即下划线\颜色\安卓?