Change RadEntry Clear Button and Its Function

1 Answer 30 Views
Entry General Discussions
Nelson
Top achievements
Rank 1
Nelson asked on 03 Oct 2023, 07:24 PM

Hi All,

I just want to ask if it is possible to change the clear button icon in RadEntry? Currently, we have a feature that we need to display an exclamation point icon in the current clear button position if the user enters an invalid value. Also, upon pressing on that exclamation point, we need to display a pop up message.

1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 06 Oct 2023, 08:13 AM

Hi Nelson,

Let me get straight to the questions: 

Clear button icon:

This scenario cannot be achieved. I have logged this as a feature request. Here is the item: https://feedback.telerik.com/maui/1626275-entry-provide-an-option-to-change-the-clear-button-icon 

Currently, the available properties for customization are described here: https://docs.telerik.com/devtools/maui/controls/entry/styling#clear-button-style 

Entry clear button clicked:

We have this logged as a feature request here: https://feedback.telerik.com/maui/1583235-entry-expose-an-event-for-clear-button-clicked 

Cast your vote for both items. When there is an update the status will be changed.

Additional UI for Invalid Value

For invalid value, use the IsValueValid property, if the Value is invalid, you can display additional element over the RadEntry control and add tap gesture recognizer to it. Then display additional dialog when the element is tapped.

Regards,
Didi
Progress Telerik

A brand new .NET MAUI course was just added to the Virtual Classroom. The training course is developed to help you get started with the Telerik UI for .NET MAUI components and features. It aims to put you in the shoes of an engineer who adds new features to an existing application. You can check it out at https://learn.telerik.com
Tags
Entry General Discussions
Asked by
Nelson
Top achievements
Rank 1
Answers by
Didi
Telerik team
Share this question
or