React Native version: 0.61.4 and lower
Trying to force capitalization of characters inside a TextInput is broken on Android.
autoCapitalize="characters" doesn't seem to do anythingtoUpperCase in the onChangeText hook causes duplication of letterstextTransform: 'uppercase' in styles block causes the same duplication of letterstextTransform: 'uppercase' in a non-controlled TextInput does nothingDescribe what you expected to happen:
Characters should be capitalized
What actually happens:
Characters are capitalized and duplicated
Snack, code example, screenshot, or link to a repository:
https://snack.expo.io/@nmi09/rn-android-capitalize-input-bug

Yeah. The same issue! On iOS all works fine
Same issue for me....
Had same issue. Adding
secureTextEntry={Platform.OS === 'ios' ? false : true}
seemed to fix it for me.
Any luck finding a workaround for this??
keyboardType={Platform.OS === 'ios' ? 'default' : 'visible-password'}
Seems to be the only workaround for me with Android at the moment (I've been looking for ages!). Will need some cross platform testing locally though.
Really weird, it worked but I think that should be fixed asap.
keyboardType={Platform.OS === 'ios' ? 'default' : 'visible-password'}Seems to be the only workaround for me with Android at the moment (I've been looking for ages!). Will need some cross platform testing locally though.
i have the same problem. The solution by simon-davies-avtura solved it partially, but I really wanted to use keyboardType='email-address'. If there is any other workaround or a solution. I just want to display the font in lowerCase on the UI.
seems similar issue to https://github.com/facebook/react-native/issues/11068#issuecomment-574013816
It is difficult to fix this issue related to Rich Text, more info in Pull Request https://github.com/facebook/react-native/pull/27757
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.
This issue is still present in React Native version: 0.63.2
I have the same problem.
autoCapitalize={'characters'}
Seems to solve the problem.
https://www.reddit.com/r/reactnative/comments/jhdref/any_solution_to_the_touppercase_problem
Most helpful comment
keyboardType={Platform.OS === 'ios' ? 'default' : 'visible-password'}Seems to be the only workaround for me with Android at the moment (I've been looking for ages!). Will need some cross platform testing locally though.