🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
1.74k
stars
499
forks
source link
Placeholder fontFamily go back to default font when picking selection and later pressing placeholder again #378
Open
henaharon opened 3 years ago
Describe the bug
Placeholder fontFamily go back to default font when picking a selection and later pressing placeholder again.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
fontFamily remains the same (as mention in style object) after changing selections. Screenshots
Additional details
Reproduction and/or code sample
RNPickerSelect
` <RNPickerSelect doneText={'סיים'} value={categorySelect} placeholder={{ label: 'סנן לפי איזור, value: 0, color: colors.PICKERS_RED, }} items={list.map((item) => ({ label: item.name, value: item.id, }))} onValueChange={(value) => { this.onCheckChanged(value); }} style={{inputIOS: { alignItems: 'flex-end', justifyContent: 'space-between',