From 895edfb24a7ea27a2649d0e5ce486a37d395879d Mon Sep 17 00:00:00 2001 From: YasarYY <73517995+YasarYY@users.noreply.github.com> Date: Mon, 15 Dec 2025 18:38:09 +0300 Subject: [PATCH] Fix on screen keyboard is missing decimal separator on iOS (#20279) --- src/iOS/Avalonia.iOS/TextInputResponder.Properties.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/iOS/Avalonia.iOS/TextInputResponder.Properties.cs b/src/iOS/Avalonia.iOS/TextInputResponder.Properties.cs index 6c4dd1074f..4b0a826dc2 100644 --- a/src/iOS/Avalonia.iOS/TextInputResponder.Properties.cs +++ b/src/iOS/Avalonia.iOS/TextInputResponder.Properties.cs @@ -24,8 +24,9 @@ partial class AvaloniaView _view._options.ContentType switch { TextInputContentType.Alpha => UIKeyboardType.AsciiCapable, - TextInputContentType.Digits or TextInputContentType.Number => UIKeyboardType.NumberPad, + TextInputContentType.Digits => UIKeyboardType.PhonePad, TextInputContentType.Pin => UIKeyboardType.NumberPad, + TextInputContentType.Number => UIKeyboardType.DecimalPad, TextInputContentType.Email => UIKeyboardType.EmailAddress, TextInputContentType.Url => UIKeyboardType.Url, TextInputContentType.Name => UIKeyboardType.NamePhonePad,