I would like to set the Keyboard Type the same way as it's possible for the regular Entry (see docs).
The reason is that I have a MaskedEntry with a mask that allows only numeric input. That's why I want to set Keyboard="Numeric".
This is how it should look like in the end:
<telerik:RadTextMaskedEntry
x:Name="entry"
Keyboard="Numeric"
Mask="00:00" />
When I register the pages and controls using AddTransient it works but when I use AddSingleton it doesn't.
System.InvalidOperationException: PlatformView cannot be null here [mono-rt] at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].get_PlatformView() in ViewHandlerOfT.cs:line 36 [mono-rt] at Telerik.Maui.Handlers.RadMaskedEntryHandler.GetTextInputFromNativeVisualTree() [mono-rt] at Telerik.Maui.Handlers.RadMaskedEntryHandler.UpdateNativeTextInput() [mono-rt] at Telerik.Maui.Handlers.RadMaskedEntryHandler.NativeView_ChildViewRemoved(Object sender, ChildViewRemovedEventArgs args)
when setting MaxLength to RadEntry and this Entry is used in the Masked control template, the following exception occurs:
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. (Parameter 'length') at System.String.ThrowSubstringArgumentOutOfRange(Int32 startIndex, Int32 length) at System.String.Substring(Int32 startIndex, Int32 length) at Telerik.RadStringHelper.Replace(String inText, Int32 startIndex, Int32 length, String replacementString) at Telerik.Maui.Handlers.RadMaskedEntryHandler.OnShouldChangeCharactersEvent(Object sender, ShouldChangeCharactersEventArgs args) at Telerik.Maui.Platform.RadMauiEntry.OnShouldChangeCharacters(Object sender, ShouldChangeCharactersEventArgs args) at Telerik.Maui.Handlers.RadTextFieldDelegate.ShouldChangeCharacters(UITextField textField, NSRange range, String replacementString)