I'm looking to replace the Xamarin RadRichTextEditor control in my Maui app. The Maui native Editor control is good but doesn't scroll.
And to be honest, the RadRichTextEditor gave me more trouble than it was worth (I loved the functionality, but it wasn't a good fit for my implementation).
So, adding the appropriate support to RadEntry to make it more of a 'multiline text editor' or even a 'mini word processor' would be awesome.
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
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>
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.
A line going through the clear button of the RadEntry control. The behavior is reproduced on Android 9.0
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
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.
On Windows when IsReadOnly state changes to true, the control state does not change, you can still edit the text.
Example:
<VerticalStackLayout >
<Switch IsToggled="{Binding IsReadOnly,Source={x:Reference EntryShareName}}"/>
<telerik:RadEntry x:Name="EntryShareName"
FontSize="14"
Placeholder="Enter text here"
PlaceholderColor="#99000000"
AutomationId="radEntry">
</telerik:RadEntry>
</VerticalStackLayout>
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
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.
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
.....
When you've set IsPassword=True and have an initial value for Text, that value is ignored (only the watermark is shown).
Reproducible on .NET MAUI peview14 using UI for MAUI 0.6.0 with the following code
<telerik:RadEntry Placeholder="Password" Text="1234" IsPassword="True"/>
The Placeholder position is not in sync with the Entry's Text, it is always top-left aligned.
Here's a quick screenshot of what happens when the RadEntry is larger than the default.
This has the side effect of not being aligned with the Text.
There are several ways I can think of to approach this, but I think the easiest way would be to just bind the top level control's VerticalTextAlignment property value on the internal Label being used for the Placeholder
<telerik:RadEntry Placeholder="Name"
WidthRequest="280"
HeightRequest="100"
VerticalTextAlignment="End"/>