Input keyboard type - .NET MAUI
In MAUI, there is a built-in property for input fields(Entry
& Editor
) named Keyboard
with the next possible values:
- Chat
- Default
- Numeric
- Plain
- Telephone
- Text
- Url
Usage (C#)
entry.Text = "This is an error message";
entry.Keyboard = Keyboard.Numeric;
Usage (XAML)
<Editor Keyboard="Telephone" />