i am creating a web page for mobile devices. In that there are few input fields which require user to always enter data in uppercase. 
I looked at few options like
text-transform property of cssautocapitalize attribute for inputtextarea but not with input in android.Is there any better way to achieve this?
try adding autocapitalize="characters" to input, it worked for me on Android, and it should work on other kind of devices as MDN web docs says here:
The
autocapitalizeattribute doesn’t affect behavior when typing on a physical keyboard. Instead, it affects the behavior of other input mechanisms, such as virtual keyboards on mobile devices and voice input.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With