When updating to Telerik MAUI 8.0.0 and building the app on Android 5.1 the controls that use RadTextInput internally crash
Controls like, DataGrid, RadEntry, ComboBox, AutoComplete, Numeric, Masked
UNHANDLED EXCEPTION:
[MonoDroid] Java.Lang.NoSuchMethodError: no non-static method "Landroidx/appcompat/widget/AppCompatEditText;.getTextCursorDrawable()Landroid/graphics/drawable/Drawable;"
[MonoDroid] at Java.Interop.JniEnvironment.InstanceMethods.GetMethodID(JniObjectReference type, String name, String signature)
[MonoDroid] at Java.Interop.JniType.GetInstanceMethod(String name, String signature)
[MonoDroid] at Java.Interop.JniPeerMembers.JniInstanceMethods.GetMethodInfo(String method, String signature)
[MonoDroid] at Java.Interop.JniPeerMembers.JniInstanceMethods.GetMethodInfo(String encodedMember)
[MonoDroid] at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualObjectMethod(String encodedMember, IJavaPeerable self, JniArgumentValue* parameters)
[MonoDroid] at Android.Widget.TextView.get_TextCursorDrawable()
[MonoDroid] at Telerik.Maui.Handlers.RadTextInputHandler.MapCustomCursorColor(RadTextInputHandler handler, IRadTextInput virtualElement)
[MonoDroid] at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Telerik.Maui.IRadTextInput, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[Telerik.Maui.Handlers.RadTextInputHandler, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].<Add>b__0(IElementHandler h, IElement v)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)
[MonoDroid] at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElemen
.....
I tried the following and the custom context menu does not apply:
<telerik:RadEntry x:Name="telerikEntry">
<FlyoutBase.ContextFlyout>
<MenuFlyout>
<MenuFlyoutItem Text="Custom flyout telrik radentry"
Clicked="MenuFlyoutItem_Clicked">
</MenuFlyoutItem>
</MenuFlyout>
</FlyoutBase.ContextFlyout>
</telerik:RadEntry>
It works for MAUI Entry. Provide this menu for Telerik MAUI RadEntry too.
Request for a manual Done button to be added to any of the existing Telerik controls when using numeric keyboard.
Request for RadEntry, NumericInput.
The MAUI Editor has manual done button above the Numeric keyboard, so the keyboard can be dismissed when pressing on this button.
There is android platform specific attached property ImeOption for entry control.
<Entry x:Name="Default" FontSize="22" Placeholder="Default" Keyboard="Numeric" android:Entry.ImeOptions="Next" />
Please provide an option to use this property for Telerik MAUI RadEntry.
Runtime exception with latest Microsoft .NET iOS sdk 8.0.100 17.0.8490
Exception:
TelerikTestForSimulator[24646:547905] *** NSForwarding: warning: object 0x60000289d5c0 of class 'Telerik_Maui_InputElement_RadTextField' does not implement methodSignatureForSelector: -- trouble ahead TelerikTestForSimulator[24646:547905] *** NSForwarding: warning: object 0x60000289d5c0 of class 'Telerik_Maui_InputElement_RadTextField' does not implement doesNotRecognizeSelector: -- abort
Keyboard remains open on iOS when taping outside of Entry control.
There is a workaround for the MAUI Entry control by setting the HideSoftInputOnTap property on the Pagel, but this property does not work on RadEntry. The keyboard remains open.
Text is not centered vertically on WinUI with latest Maui. The issue also affects NumericInput control as RadEntry is used internally.
Hi Team,
I need to be able to set the color of the selection highlight.
Can you please add a new top-level property on the .NET MAUI RadEntry control that allows us to set this?
Thank you,
Craig
A line going through the clear button of the RadEntry control. The behavior is reproduced on Android 9.0
When setting BorderBrush, BorderThickess, FocusedBorderBrush and FocusedBorderThickness do not apply on the entire entry control, they apply only on bottom.
<VerticalStackLayout>
<telerik:RadEntry Text="Hello World" TextColor="DarkRed"
Background="Wheat"
FocusedBorderBrush="Yellow"
FocusedBorderThickness="10"
x:Name="entry"
BorderBrush="DarkRed"
BorderThickness="8"
CornerRadius="5,7,7,5"
WidthRequest="150"/>
</VerticalStackLayout>
And the result:
Place the entry in a RadBorder:
<telerik:RadBorder BorderColor="Red"
CornerRadius="5,7,7,5"
BorderThickness="4,4,4,4">
<telerik:RadEntry Text="Hello World"
TextColor="DarkRed"
Background="Wheat"
x:Name="entry" />
</telerik:RadBorder>
On Android: RadEntry and .NET Maui Entry behavior are identical. When unfocused, the focused background is still applied.
On WinUI: RadEntry and .NET Maui behavior when are unfocused, the focused background is still applied. When RadEntry is in the "Focused" and "PointerOver" visual states, the control behavior is with the default state. When .NET Maui Entry is in the "Focused" and "PointerOver" visual states, the control behavior is with the "PoinetOver" visual state.
On iOS and MacCatalys: When RadEntry is unfocused, the focused background is still applied.
Hi Team,
I would like to be able to use standard .NET data annotations on my bound property with the RadEntry's validation features.
For example, the following MaxLength attribute:
[MaxLength(12)]
public string CustomerId
{
get => customerId;
set => SetProperty(ref customerId, value);
}
Thank you,
Mads