mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-24 11:55:38 +01:00
Changed Input keyboard on phone to be the telephone keyboard and also capitalized the keyboard on some fields of add/edit identity (#1800)
This commit is contained in:
parent
fa8d59075b
commit
fa1bc3fa14
@ -338,7 +338,7 @@
|
||||
<Entry
|
||||
x:Name="_identityFirstNameEntry"
|
||||
Text="{Binding Cipher.Identity.FirstName}"
|
||||
StyleClass="box-value" />
|
||||
StyleClass="box-value,capitalize-word-input"/>
|
||||
</StackLayout>
|
||||
<StackLayout StyleClass="box-row, box-row-input">
|
||||
<Label
|
||||
@ -347,7 +347,7 @@
|
||||
<Entry
|
||||
x:Name="_identityMiddleNameEntry"
|
||||
Text="{Binding Cipher.Identity.MiddleName}"
|
||||
StyleClass="box-value" />
|
||||
StyleClass="box-value,capitalize-word-input" />
|
||||
</StackLayout>
|
||||
<StackLayout StyleClass="box-row, box-row-input">
|
||||
<Label
|
||||
@ -356,7 +356,7 @@
|
||||
<Entry
|
||||
x:Name="_identityLastNameEntry"
|
||||
Text="{Binding Cipher.Identity.LastName}"
|
||||
StyleClass="box-value" />
|
||||
StyleClass="box-value,capitalize-word-input" />
|
||||
</StackLayout>
|
||||
<StackLayout StyleClass="box-row, box-row-input">
|
||||
<Label
|
||||
@ -420,6 +420,7 @@
|
||||
<Entry
|
||||
x:Name="_identityPhoneEntry"
|
||||
Text="{Binding Cipher.Identity.Phone}"
|
||||
Keyboard="Telephone"
|
||||
StyleClass="box-value" />
|
||||
</StackLayout>
|
||||
<StackLayout StyleClass="box-row, box-row-input">
|
||||
@ -456,7 +457,7 @@
|
||||
<Entry
|
||||
x:Name="_identityCityEntry"
|
||||
Text="{Binding Cipher.Identity.City}"
|
||||
StyleClass="box-value" />
|
||||
StyleClass="box-value,capitalize-sentence-input" />
|
||||
</StackLayout>
|
||||
<StackLayout StyleClass="box-row, box-row-input">
|
||||
<Label
|
||||
@ -465,7 +466,7 @@
|
||||
<Entry
|
||||
x:Name="_identityStateEntry"
|
||||
Text="{Binding Cipher.Identity.State}"
|
||||
StyleClass="box-value" />
|
||||
StyleClass="box-value,capitalize-sentence-input" />
|
||||
</StackLayout>
|
||||
<StackLayout StyleClass="box-row, box-row-input">
|
||||
<Label
|
||||
@ -483,7 +484,7 @@
|
||||
<Entry
|
||||
x:Name="_identityCountryEntry"
|
||||
Text="{Binding Cipher.Identity.Country}"
|
||||
StyleClass="box-value" />
|
||||
StyleClass="box-value,capitalize-sentence-input" />
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
</StackLayout>
|
||||
|
@ -463,4 +463,28 @@
|
||||
<Setter Property="TextColor"
|
||||
Value="{DynamicResource TextColor}" />
|
||||
</Style>
|
||||
|
||||
<!--Entry-->
|
||||
<Style TargetType="InputView"
|
||||
Class="capitalize-word-input"
|
||||
ApplyToDerivedTypes="True">
|
||||
<Setter Property="Keyboard">
|
||||
<Keyboard x:FactoryMethod="Create">
|
||||
<x:Arguments>
|
||||
<KeyboardFlags>CapitalizeWord</KeyboardFlags>
|
||||
</x:Arguments>
|
||||
</Keyboard>
|
||||
</Setter>
|
||||
</Style>
|
||||
<Style TargetType="InputView"
|
||||
Class="capitalize-sentence-input"
|
||||
ApplyToDerivedTypes="True">
|
||||
<Setter Property="Keyboard">
|
||||
<Keyboard x:FactoryMethod="Create">
|
||||
<x:Arguments>
|
||||
<KeyboardFlags>CapitalizeSentence</KeyboardFlags>
|
||||
</x:Arguments>
|
||||
</Keyboard>
|
||||
</Setter>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
|
Loading…
Reference in New Issue
Block a user