xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.64k stars 1.88k forks source link

Xamarin.Forms : Problem with Entry Field with Numeric Keyboard #15755

Open vsfeedback opened 1 year ago

vsfeedback commented 1 year ago

This issue has been moved from a ticket on Developer Community.


Hello, My Xamarin.forms app for Android contains an Entry field with the property Keyboad = ''Numeric''.

<Entry  x:Name="qteArt"
Grid.Column="1"
Text="{Binding QteArt}"
Keyboard="Numeric"
WidthRequest="60"
VerticalTextAlignment="Center"
FontSize="Medium" />

I also installed the Microsoft Swiftkey keyboard. When the language of the phone is in English and the cursor is on this field, the keyboard works correctly and shows only numbers with a few special characters:

Screenshot_1685372517.png

On the other hand, when the language is in French, the keyboard displays the letters (it seems that the property "Numeric" is not taken into account):

Screenshot_1685371006.png

Is it an issue, or did I forget to specify a property? Thank you for your help. Marcel Delhaye


Original Comments

Feedback Bot on 5/29/2023, 06:54 PM:

(private comment, text removed)


Original Solutions

(no solutions)

MitchBomcanhao commented 1 year ago

I also use the swiftkey keyboard (I'm in the UK) and in most places where I'd expect a numeric keyboard it also shows the rest of the letters. This is on any application, so I would't think that the issue is related to xamarin forms. probably a quirk of swiftkey (or perhaps it is configurable somewhere).