mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-25 12:05:59 +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
|
<Entry
|
||||||
x:Name="_identityFirstNameEntry"
|
x:Name="_identityFirstNameEntry"
|
||||||
Text="{Binding Cipher.Identity.FirstName}"
|
Text="{Binding Cipher.Identity.FirstName}"
|
||||||
StyleClass="box-value" />
|
StyleClass="box-value,capitalize-word-input"/>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
<StackLayout StyleClass="box-row, box-row-input">
|
<StackLayout StyleClass="box-row, box-row-input">
|
||||||
<Label
|
<Label
|
||||||
@ -347,7 +347,7 @@
|
|||||||
<Entry
|
<Entry
|
||||||
x:Name="_identityMiddleNameEntry"
|
x:Name="_identityMiddleNameEntry"
|
||||||
Text="{Binding Cipher.Identity.MiddleName}"
|
Text="{Binding Cipher.Identity.MiddleName}"
|
||||||
StyleClass="box-value" />
|
StyleClass="box-value,capitalize-word-input" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
<StackLayout StyleClass="box-row, box-row-input">
|
<StackLayout StyleClass="box-row, box-row-input">
|
||||||
<Label
|
<Label
|
||||||
@ -356,7 +356,7 @@
|
|||||||
<Entry
|
<Entry
|
||||||
x:Name="_identityLastNameEntry"
|
x:Name="_identityLastNameEntry"
|
||||||
Text="{Binding Cipher.Identity.LastName}"
|
Text="{Binding Cipher.Identity.LastName}"
|
||||||
StyleClass="box-value" />
|
StyleClass="box-value,capitalize-word-input" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
<StackLayout StyleClass="box-row, box-row-input">
|
<StackLayout StyleClass="box-row, box-row-input">
|
||||||
<Label
|
<Label
|
||||||
@ -420,6 +420,7 @@
|
|||||||
<Entry
|
<Entry
|
||||||
x:Name="_identityPhoneEntry"
|
x:Name="_identityPhoneEntry"
|
||||||
Text="{Binding Cipher.Identity.Phone}"
|
Text="{Binding Cipher.Identity.Phone}"
|
||||||
|
Keyboard="Telephone"
|
||||||
StyleClass="box-value" />
|
StyleClass="box-value" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
<StackLayout StyleClass="box-row, box-row-input">
|
<StackLayout StyleClass="box-row, box-row-input">
|
||||||
@ -456,7 +457,7 @@
|
|||||||
<Entry
|
<Entry
|
||||||
x:Name="_identityCityEntry"
|
x:Name="_identityCityEntry"
|
||||||
Text="{Binding Cipher.Identity.City}"
|
Text="{Binding Cipher.Identity.City}"
|
||||||
StyleClass="box-value" />
|
StyleClass="box-value,capitalize-sentence-input" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
<StackLayout StyleClass="box-row, box-row-input">
|
<StackLayout StyleClass="box-row, box-row-input">
|
||||||
<Label
|
<Label
|
||||||
@ -465,7 +466,7 @@
|
|||||||
<Entry
|
<Entry
|
||||||
x:Name="_identityStateEntry"
|
x:Name="_identityStateEntry"
|
||||||
Text="{Binding Cipher.Identity.State}"
|
Text="{Binding Cipher.Identity.State}"
|
||||||
StyleClass="box-value" />
|
StyleClass="box-value,capitalize-sentence-input" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
<StackLayout StyleClass="box-row, box-row-input">
|
<StackLayout StyleClass="box-row, box-row-input">
|
||||||
<Label
|
<Label
|
||||||
@ -483,7 +484,7 @@
|
|||||||
<Entry
|
<Entry
|
||||||
x:Name="_identityCountryEntry"
|
x:Name="_identityCountryEntry"
|
||||||
Text="{Binding Cipher.Identity.Country}"
|
Text="{Binding Cipher.Identity.Country}"
|
||||||
StyleClass="box-value" />
|
StyleClass="box-value,capitalize-sentence-input" />
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
|
@ -463,4 +463,28 @@
|
|||||||
<Setter Property="TextColor"
|
<Setter Property="TextColor"
|
||||||
Value="{DynamicResource TextColor}" />
|
Value="{DynamicResource TextColor}" />
|
||||||
</Style>
|
</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>
|
</ResourceDictionary>
|
||||||
|
Loading…
Reference in New Issue
Block a user