How do I simply remove the text in the textbox in a TelerikAutoComplete?

1 Answer 93 Views
AutoComplete
Joe
Top achievements
Rank 1
Joe asked on 26 Sep 2023, 07:54 PM | edited on 26 Sep 2023, 07:54 PM
Tried setting the Value but the textbox refuses to change the displayed text. 

1 Answer, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 29 Sep 2023, 01:46 PM

Hi, Joe,

There are two ways this can be done depending on whether you are using the ValueChanged event or not:

  • If you are using the event, then one-way binding has to be used via Value syntax.
  • Alternatively, if you would prefer to use two-way binding and aren't using ValueChanged then @bind-Value syntax can be used.

I have prepared both a Value REPL example and a @bind-Value REPL example.

More information on value binding can be found in the following article:

Let me know if additional questions arise.

Kind regards,
Georgi
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Tags
AutoComplete
Asked by
Joe
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Share this question
or