Skip to content

Instantly share code, notes, and snippets.

@jfversluis
Created November 28, 2018 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfversluis/acfe1a709665304de25877e4a168feee to your computer and use it in GitHub Desktop.
Save jfversluis/acfe1a709665304de25877e4a168feee to your computer and use it in GitHub Desktop.
Fix for input method bug UWP
if (InputScope != null && InputScope.Names.Any(i => i.NameValue == InputScopeNameValue.Number))
{
InputScope = NumericPasswordInputScope;
}
else
{
InputScope = PasswordInputScope; // Change to default input scope so we don't have suggestions, etc.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment