[Android][TextInput] Can't change fontStyle from 'italic' to 'normal' when typing and set secureTextEntry is true #28745
Labels
Component: TextInput
Related to the TextInput component.
Needs: Author Feedback
Needs: Environment Info
Please run `react-native info` and edit your issue with that command's output.
Platform: Android
Android applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
I have example code
<TextInput style={[TEXT_STYLE.textInput, { ...Platform.select({ ios: { fontFamily: password ? type.base : type.italic, fontSize: placeholderSize }, android: { fontFamily: 'Lato-Regular', fontStyle: password ? 'normal' : 'italic', fontSize: placeholderSize } }) } ]} secureTextEntry={true} onChangeText={(text) => setPassword(text)} value={passwordInput} placeholder={placeholder} placeholderTextColor={COLORS.Default.darkGray} />
If password is empty, it's should be 'italic'. But if password is not empty, it's should be 'normal'.
iOS work but android doesn't work.
Component: TextInput
Platform: Android
RN: 0.0.61
The text was updated successfully, but these errors were encountered: