Closed nicoladj77 closed 5 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, ), }} />
i think this will do it (#44)
textInputOutlineStyle => you will need to upgrade the react native paper to v5 for it work
textInputOutlineStyle
<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, ), }} />