Skip to main content
All docs
V25.1
  • DxComboBox<TData, TValue>.SearchDelay Property

    Specifies the delay between a user’s last input in the edit box and the initiation of the search.

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    Declaration

    [DefaultValue(0)]
    [Parameter]
    public int SearchDelay { get; set; }

    Property Value

    Type Default Description
    Int32 0

    A time interval, in milliseconds.

    Remarks

    The DevExpress Blazor ComboBox can search for text that users type in the edit box.

    Use the SearchDelay property to specify the time interval between a user’s last input and the subsequent update of the ComboBox. If the user continues to type during this delay, the timer restarts. This behavior helps limit frequent updates and reduce associated data requests (such as database queries or REST API calls) while the user types. To update the search text immediately, the user can press the Enter key or move focus away from the editor.

    The following code specifies the search mode, condition, and delay:

    <DxComboBox Data="Staff.DataSource" 
                @bind-Value="@Value" 
                SearchMode="ListSearchMode.AutoSearch"
                SearchFilterCondition="ListSearchFilterCondition.Contains"
                SearchDelay="1000">
        <Columns>
            <DxListEditorColumn FieldName="FirstName"></DxListEditorColumn>
            <DxListEditorColumn FieldName="LastName"></DxListEditorColumn>
            <DxListEditorColumn FieldName="Department"></DxListEditorColumn>
        </Columns>
    </DxComboBox>
    
    @code {
        string Value { get; set; }
    }
    

    Run Demo: ComboBox - Search and Filter Data

    See Also