From 223ec180fc13e344f8618b77ba76fcf9959162aa Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 19 Jun 2019 16:03:55 -0400 Subject: [PATCH] disable spell check & prediction on certain fields --- src/App/Pages/Accounts/LockPage.xaml | 4 ++++ src/App/Pages/Accounts/LoginPage.xaml | 2 ++ src/App/Pages/Accounts/RegisterPage.xaml | 4 ++++ src/App/Pages/Generator/GeneratorPage.xaml | 2 ++ src/App/Pages/Vault/AddEditPage.xaml | 15 ++++++++++++--- 5 files changed, 24 insertions(+), 3 deletions(-) diff --git a/src/App/Pages/Accounts/LockPage.xaml b/src/App/Pages/Accounts/LockPage.xaml index 8824cd012..4945fdf41 100644 --- a/src/App/Pages/Accounts/LockPage.xaml +++ b/src/App/Pages/Accounts/LockPage.xaml @@ -45,6 +45,8 @@ Text="{Binding Pin}" StyleClass="box-value" Keyboard="Numeric" + IsSpellCheckEnabled="False" + IsTextPredictionEnabled="False" IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" Grid.Row="1" Grid.Column="0" @@ -76,6 +78,8 @@ x:Name="_masterPassword" Text="{Binding MasterPassword}" StyleClass="box-value" + IsSpellCheckEnabled="False" + IsTextPredictionEnabled="False" IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" Grid.Row="1" Grid.Column="0" diff --git a/src/App/Pages/Accounts/LoginPage.xaml b/src/App/Pages/Accounts/LoginPage.xaml index ad5af3525..8d80a610d 100644 --- a/src/App/Pages/Accounts/LoginPage.xaml +++ b/src/App/Pages/Accounts/LoginPage.xaml @@ -55,6 +55,8 @@ x:Name="_masterPassword" Text="{Binding MasterPassword}" StyleClass="box-value" + IsSpellCheckEnabled="False" + IsTextPredictionEnabled="False" IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" Grid.Row="1" Grid.Column="0" diff --git a/src/App/Pages/Accounts/RegisterPage.xaml b/src/App/Pages/Accounts/RegisterPage.xaml index 787dfb50b..98f5a8e50 100644 --- a/src/App/Pages/Accounts/RegisterPage.xaml +++ b/src/App/Pages/Accounts/RegisterPage.xaml @@ -55,6 +55,8 @@ x:Name="_masterPassword" Text="{Binding MasterPassword}" StyleClass="box-value" + IsSpellCheckEnabled="False" + IsTextPredictionEnabled="False" IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" Grid.Row="1" Grid.Column="0" /> @@ -89,6 +91,8 @@ x:Name="_confirmMasterPassword" Text="{Binding ConfirmMasterPassword}" StyleClass="box-value" + IsSpellCheckEnabled="False" + IsTextPredictionEnabled="False" IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" Grid.Row="1" Grid.Column="0" /> diff --git a/src/App/Pages/Generator/GeneratorPage.xaml b/src/App/Pages/Generator/GeneratorPage.xaml index f0b3584b4..c115b4648 100644 --- a/src/App/Pages/Generator/GeneratorPage.xaml +++ b/src/App/Pages/Generator/GeneratorPage.xaml @@ -93,6 +93,8 @@ StyleClass="box-label" /> diff --git a/src/App/Pages/Vault/AddEditPage.xaml b/src/App/Pages/Vault/AddEditPage.xaml index 9f9a04202..61c57aa4a 100644 --- a/src/App/Pages/Vault/AddEditPage.xaml +++ b/src/App/Pages/Vault/AddEditPage.xaml @@ -112,7 +112,9 @@ StyleClass="box-value" Grid.Row="1" Grid.Column="0" - IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" /> + IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" + IsSpellCheckEnabled="False" + IsTextPredictionEnabled="False" /> @@ -236,7 +240,9 @@ Grid.Row="1" Grid.Column="0" Keyboard="Numeric" - IsPassword="{Binding ShowCardCode, Converter={StaticResource inverseBool}}" /> + IsPassword="{Binding ShowCardCode, Converter={StaticResource inverseBool}}" + IsSpellCheckEnabled="False" + IsTextPredictionEnabled="False" /> @@ -541,7 +548,9 @@ Grid.Row="1" Grid.Column="0" IsVisible="{Binding IsHiddenType}" - IsPassword="{Binding ShowHiddenValue, Converter={StaticResource inverseBool}}" /> + IsPassword="{Binding ShowHiddenValue, Converter={StaticResource inverseBool}}" + IsSpellCheckEnabled="False" + IsTextPredictionEnabled="False" />