# Radzen Autocomplete Reset

**URL:** <https://forum.radzen.com/t/radzen-autocomplete-reset/3529>\
**Category:** Blazor Server\
**Created:** [May 7, 2020, 7:55pm UTC](https://forum.radzen.com/t/radzen-autocomplete-reset/3529 "2020-05-07T19:55:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![alien8tr96](https://forum.radzen.com/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@alien8tr96](https://forum.radzen.com/u/alien8tr96)\
**Post date:** [May 7, 2020, 7:55pm UTC](https://forum.radzen.com/t/radzen-autocomplete-reset/3529/1 "2020-05-07T19:55:58Z")

</div>

Hello,

I am looking for a way to reset a Autocomplete field on my form. The use case being if someone types in a value which is not in the autocomplete list and then tabs away, i want to reset the searchText to be null instead of retaining the inaccurate information that was typed. That way they can go back to the field and start from nothing to search for a new item in the drop down.

Is there a way to do this already that i am missing? I have tried to register an onfocusout function but i cannot seem to find a way to reset the searchText to null.

Thanks in advance!!

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [May 8, 2020, 5:37am UTC](https://forum.radzen.com/t/radzen-autocomplete-reset/3529/2 "2020-05-08T05:37:56Z")

</div>

You should set the Value of the AutoComplete component. If you are using @bind-Value already - you can handle the Change event of the AutoComplete and reset the model value there.

---

<div class="post-metadata">

**Author:** ![alien8tr96](https://forum.radzen.com/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@alien8tr96](https://forum.radzen.com/u/alien8tr96)\
**Post date:** [May 8, 2020, 12:26pm UTC](https://forum.radzen.com/t/radzen-autocomplete-reset/3529/3 "2020-05-08T12:26:45Z")

</div>

I have tried something similar to this because i am using the Change event already, but i have noticed that the change event doesnt get called when the value input is not a valid option in the autocomplete and also because the option wasnt valid, the @bind-Value remains null.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [May 8, 2020, 1:59pm UTC](https://forum.radzen.com/t/radzen-autocomplete-reset/3529/4 "2020-05-08T13:59:26Z")

</div>

Hi @alien8tr96,

You are right about Change event - it will be fixed in the next update (Monday).

---

<div class="post-metadata">

**Author:** ![alien8tr96](https://forum.radzen.com/letter_avatar_proxy/v4/letter/a/6a8cbe/32.png) [@alien8tr96](https://forum.radzen.com/u/alien8tr96)\
**Post date:** [May 8, 2020, 2:17pm UTC](https://forum.radzen.com/t/radzen-autocomplete-reset/3529/5 "2020-05-08T14:17:27Z")

</div>

@enchev  
Thanks! I look forward to the update and implementing the change for my feature! Great Library!
