Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions knowledge-base/combobox-auto-select-on-blur.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: How to Automatically Select Preselected Item on Blur
description: Learn how to configure the Telerik ComboBox for Blazor to automatically select the first matching item when the input loses focus.
title: Select Focused Dropdown Item on Tab
description: Learn how to configure the Telerik ComboBox for Blazor to automatically select the first matching item when the user tabs and the component loses focus.
type: how-to
page_title: How to Automatically Select Preselected Item on Blur
page_title: How to Automatically Select the Focused Dropdown Item on Tab
slug: combobox-kb-autoselect-on-blur
tags: telerik, blazor, combobox, blur, auto-select
res_type: kb
Expand All @@ -29,6 +29,7 @@ The article asnwers to the following question:
* How to set the ComboBox value when the user leaves the input field?

## Solution

To automatically select the first matching item in the ComboBox when the input loses focus, use a combination of the ComboBox [`OnRead` event](slug:components/combobox/events#onread) and JavaScript interop. The provided example demonstrates how to:

1. Use the `OnRead` event to filter data and store the first matching item.
Expand Down Expand Up @@ -182,4 +183,4 @@ To automatically select the first matching item in the ComboBox when the input l
````
## See Also

- [ComboBox Events](slug:components/combobox/events)
* [ComboBox Events](slug:components/combobox/events)