disable spell check & prediction on certain fields

This commit is contained in:
Kyle Spearrin 2019-06-19 16:03:55 -04:00
parent 0116572fec
commit 223ec180fc
5 changed files with 24 additions and 3 deletions

View file

@ -45,6 +45,8 @@
Text="{Binding Pin}" Text="{Binding Pin}"
StyleClass="box-value" StyleClass="box-value"
Keyboard="Numeric" Keyboard="Numeric"
IsSpellCheckEnabled="False"
IsTextPredictionEnabled="False"
IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}"
Grid.Row="1" Grid.Row="1"
Grid.Column="0" Grid.Column="0"
@ -76,6 +78,8 @@
x:Name="_masterPassword" x:Name="_masterPassword"
Text="{Binding MasterPassword}" Text="{Binding MasterPassword}"
StyleClass="box-value" StyleClass="box-value"
IsSpellCheckEnabled="False"
IsTextPredictionEnabled="False"
IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}"
Grid.Row="1" Grid.Row="1"
Grid.Column="0" Grid.Column="0"

View file

@ -55,6 +55,8 @@
x:Name="_masterPassword" x:Name="_masterPassword"
Text="{Binding MasterPassword}" Text="{Binding MasterPassword}"
StyleClass="box-value" StyleClass="box-value"
IsSpellCheckEnabled="False"
IsTextPredictionEnabled="False"
IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}"
Grid.Row="1" Grid.Row="1"
Grid.Column="0" Grid.Column="0"

View file

@ -55,6 +55,8 @@
x:Name="_masterPassword" x:Name="_masterPassword"
Text="{Binding MasterPassword}" Text="{Binding MasterPassword}"
StyleClass="box-value" StyleClass="box-value"
IsSpellCheckEnabled="False"
IsTextPredictionEnabled="False"
IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}"
Grid.Row="1" Grid.Row="1"
Grid.Column="0" /> Grid.Column="0" />
@ -89,6 +91,8 @@
x:Name="_confirmMasterPassword" x:Name="_confirmMasterPassword"
Text="{Binding ConfirmMasterPassword}" Text="{Binding ConfirmMasterPassword}"
StyleClass="box-value" StyleClass="box-value"
IsSpellCheckEnabled="False"
IsTextPredictionEnabled="False"
IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}"
Grid.Row="1" Grid.Row="1"
Grid.Column="0" /> Grid.Column="0" />

View file

@ -93,6 +93,8 @@
StyleClass="box-label" /> StyleClass="box-label" />
<Entry <Entry
Text="{Binding WordSeparator}" Text="{Binding WordSeparator}"
IsSpellCheckEnabled="False"
IsTextPredictionEnabled="False"
StyleClass="box-value" /> StyleClass="box-value" />
</StackLayout> </StackLayout>
</StackLayout> </StackLayout>

View file

@ -112,7 +112,9 @@
StyleClass="box-value" StyleClass="box-value"
Grid.Row="1" Grid.Row="1"
Grid.Column="0" Grid.Column="0"
IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}" /> IsPassword="{Binding ShowPassword, Converter={StaticResource inverseBool}}"
IsSpellCheckEnabled="False"
IsTextPredictionEnabled="False" />
<controls:FaButton <controls:FaButton
StyleClass="box-row-button, box-row-button-platform" StyleClass="box-row-button, box-row-button-platform"
Text="&#xf058;" Text="&#xf058;"
@ -153,6 +155,8 @@
<controls:MonoEntry <controls:MonoEntry
x:Name="_loginTotpEntry" x:Name="_loginTotpEntry"
Text="{Binding Cipher.Login.Totp}" Text="{Binding Cipher.Login.Totp}"
IsSpellCheckEnabled="False"
IsTextPredictionEnabled="False"
StyleClass="box-value" StyleClass="box-value"
Grid.Row="1" Grid.Row="1"
Grid.Column="0" /> Grid.Column="0" />
@ -236,7 +240,9 @@
Grid.Row="1" Grid.Row="1"
Grid.Column="0" Grid.Column="0"
Keyboard="Numeric" Keyboard="Numeric"
IsPassword="{Binding ShowCardCode, Converter={StaticResource inverseBool}}" /> IsPassword="{Binding ShowCardCode, Converter={StaticResource inverseBool}}"
IsSpellCheckEnabled="False"
IsTextPredictionEnabled="False" />
<controls:FaButton <controls:FaButton
StyleClass="box-row-button, box-row-button-platform" StyleClass="box-row-button, box-row-button-platform"
Text="{Binding ShowCardCodeIcon}" Text="{Binding ShowCardCodeIcon}"
@ -335,6 +341,7 @@
StyleClass="box-label" /> StyleClass="box-label" />
<Entry <Entry
x:Name="_identityEmailEntry" x:Name="_identityEmailEntry"
Keyboard="Email"
Text="{Binding Cipher.Identity.Email}" Text="{Binding Cipher.Identity.Email}"
StyleClass="box-value" /> StyleClass="box-value" />
</StackLayout> </StackLayout>
@ -541,7 +548,9 @@
Grid.Row="1" Grid.Row="1"
Grid.Column="0" Grid.Column="0"
IsVisible="{Binding IsHiddenType}" IsVisible="{Binding IsHiddenType}"
IsPassword="{Binding ShowHiddenValue, Converter={StaticResource inverseBool}}" /> IsPassword="{Binding ShowHiddenValue, Converter={StaticResource inverseBool}}"
IsSpellCheckEnabled="False"
IsTextPredictionEnabled="False" />
<Switch <Switch
IsToggled="{Binding BooleanValue}" IsToggled="{Binding BooleanValue}"
Grid.Row="0" Grid.Row="0"