Picker style is not working
See original GitHub issueRN 0.55.4 “name”: “react-native-picker-select”, “version”: “3.1.1”,
<View style={{flex: 1}} >
<Text style={{color: '#0082c6', fontSize: 16, fontWeight: 'bold', marginLeft: 5}}>SEXO</Text>
<RNPickerSelect
placeholder={{
label: 'Seu Sexo',
value: '',
}}
items={this.state.items}
onValueChange={(value) => {
this.setState({
sexo: value,
});
}}
style={{ backgroundColor: '#000' }}
/>
</View>
I’ve tried to change the style to approximate the Picker box to the label “SEXO” but none type of styling is working. How to fix that?
Image to understand it better: img
Issue Analytics
- State:
- Created 5 years ago
- Comments:15 (3 by maintainers)
Top Results From Across the Web
Date-picker styles not working after production build in Angular 4
Finally, I found a solution. I just added ngx-bootstrap CSS into angular-cli.json. angular-cli.json "styles": [ "styles.css", ".
Read more >Picker Label not showing anymore | Apple Developer Forums
The Label for Picker is not being displayed anymore is there a way to fix this? The label used to show in earlier...
Read more >why not working bootstrap date picker? - Laracasts
using bootstrap date picker plugin in Laravel app as following @extends('layouts.app') @section('content')
Read more >Adding Styles to the React Date Picker - DevCamp
In the last video we set up our react date picker and we talked a little bit about ... That is interesting I...
Read more >How to use react-native-picker-select - LogRocket Blog
Style objects such as inputAndroidContainer , inputAndroid , and placeholder are not available by default for the Android platform. However, you ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I use like this:
And working good 🤟🏻
<RNPickerSelect … style={pickerSelectStyles} useNativeAndroidPickerStyle={false} // add this line and it should work />