Browse Source

Disable auto-capitalization of input element text in AvaloniaView

On Android Chrome the auto-capitalization forces the keyboard
to switch to uppercase for each and every character, this made typing
in rather difficult.
pull/8850/head
Lobster Uberlord 4 years ago
parent
commit
854b11e38c
  1. 3
      src/Web/Avalonia.Web.Blazor/AvaloniaView.razor

3
src/Web/Avalonia.Web.Blazor/AvaloniaView.razor

@ -15,7 +15,8 @@
<input id="inputElement" @ref="_inputElement" type="text" @oninput="OnInput"
onpaste="return false;"
oncopy="return false;"
oncut="return false;"/>
oncut="return false;"
autocapitalize="none"/>
</div>
<style>

Loading…
Cancel
Save