srivastavaanurag79 / react-native-paper-select

Dropdown using React Native Paper TextInput, Checkbox and Dialog
https://anurag-srivastava.gitbook.io/react-native-paper-select/
MIT License
48 stars 15 forks source link

outlineColor in textInputProps is not working in iOs, but working fine in android #48

Closed nicoladj77 closed 5 months ago

nicoladj77 commented 7 months ago
I have the following select, the issue is that the  outlineColor in textInputProps is ignored, it is always black

<PaperSelect value={values.country} onSelection={(value) => { handleChange('country')(value.text); }} arrayList={countryList} textInputMode="outlined" selectedArrayList={[]} errorText="" activeOutlineColor={style.selectedOuterInput} multiEnable={false} checkboxProps={{ checkboxColor: style.selectedOuterInput, checkboxLabelStyle: { color: 'black' }, }} textInputProps={{ activeOutlineColor: style.selectedOuterInput, outlineColor: getOutlineColor( errors, touched, 'country', style, ), }} />

srivastavaanurag79 commented 5 months ago

i think this will do it (#44)

textInputOutlineStyle => you will need to upgrade the react native paper to v5 for it work