1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-09-28 03:57:43 +02:00

PM-3350 Added new style to prevent spell check and text prediction

This commit is contained in:
Federico Maccaroni 2024-01-24 11:22:02 -03:00
parent 4472d7f9a8
commit cd33c7f608
No known key found for this signature in database
GPG Key ID: 5D233F8F2B034536
3 changed files with 13 additions and 8 deletions

View File

@ -37,7 +37,7 @@
Text="{Binding BaseUrl}"
Keyboard="Url"
Placeholder="ex. https://bitwarden.company.com"
StyleClass="box-value"
StyleClass="box-value, no-keyboard-auto-help"
ReturnType="Go"
ReturnCommand="{Binding SubmitCommand}"
AutomationId="ServerUrlEntry"/>
@ -59,7 +59,7 @@
x:Name="_webVaultEntry"
Text="{Binding WebVaultUrl}"
Keyboard="Url"
StyleClass="box-value"
StyleClass="box-value, no-keyboard-auto-help"
AutomationId="WebVaultUrlEntry"/>
</StackLayout>
<StackLayout StyleClass="box-row">
@ -70,7 +70,7 @@
x:Name="_apiEntry"
Text="{Binding ApiUrl}"
Keyboard="Url"
StyleClass="box-value"
StyleClass="box-value, no-keyboard-auto-help"
AutomationId="ApiUrlEntry"/>
</StackLayout>
<StackLayout StyleClass="box-row">
@ -81,7 +81,7 @@
x:Name="_identityEntry"
Text="{Binding IdentityUrl}"
Keyboard="Url"
StyleClass="box-value"
StyleClass="box-value, no-keyboard-auto-help"
AutomationId="IdentityUrlEntry"/>
</StackLayout>
<StackLayout StyleClass="box-row">
@ -92,7 +92,7 @@
x:Name="_iconsEntry"
Text="{Binding IconsUrl}"
Keyboard="Url"
StyleClass="box-value"
StyleClass="box-value, no-keyboard-auto-help"
ReturnType="Go"
ReturnCommand="{Binding SubmitCommand}"
AutomationId="IconsUrlEntry"/>

View File

@ -50,11 +50,10 @@
x:Name="_email"
Text="{Binding Email}"
Keyboard="Email"
StyleClass="box-value"
StyleClass="box-value, no-keyboard-auto-help"
ReturnType="Go"
ReturnCommand="{Binding ContinueCommand}"
AutomationId="EmailAddressEntry"
>
AutomationId="EmailAddressEntry">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Disabled">

View File

@ -557,6 +557,12 @@
</Keyboard>
</Setter>
</Style>
<Style TargetType="InputView"
Class="no-keyboard-auto-help"
ApplyToDerivedTypes="True">
<Setter Property="IsSpellCheckEnabled" Value="False" />
<Setter Property="IsTextPredictionEnabled" Value="False" />
</Style>
<Style TargetType="controls:CircularProgressbarView">
<Setter Property="ProgressColor"