Unplanned
Last Updated: 31 Mar 2025 12:50 by Stefan

Example:

<PageTitle>Home</PageTitle>

<div>
    <TelerikTextBox Width="20rem" Placeholder="Pallet" DebounceDelay="1000" @bind-Value="@_textInput" OnChange="@(async (input) => await OnInputChanged(input))" />
</div>
<p>@_textInput</p>


@code {
    private string? _textInput;

    private async Task OnInputChanged(object input)
    {
        Console.WriteLine($"Immediate: function parameter: {input}, bound variable: {_textInput}");
        await Task.Delay(1000);
        Console.WriteLine($"Delayed: function parameter: {input}, bound variable: {_textInput}");
        //Make the OnChange event receive the immediate value when the DebounceDelay is set
    }
}

The DebounceDelay is set to 1 second to highlight the behavior, although we have observed it with delays less than 100 milliseconds when the input is from a barcode scanner and the Enter is part of the scan. Start the sample, type "123" in the input, and hit enter within 1 second.

The output in the console is:
Immediate: function parameter: , bound variable:
Delayed: function parameter: , bound variable: 123

Unplanned
Last Updated: 27 Sep 2024 19:40 by Joe
The parameter is available for TelerikNumericTextBox only but it would be helpful for text-inputs as well.
Unplanned
Last Updated: 14 Aug 2023 11:25 by ADMIN
Created by: Christian
Comments: 5
Category: TextBox
Type: Feature Request
14

Hi,

I try to make sure that the user don't need to click the TextBox to gain focus and begin typing.

I have only one TextBox on the page, and it's does not atomatically have focus, - nor can I find a property on the component.

Any ideas :-)

 

/CU

 

Unplanned
Last Updated: 07 Jul 2022 08:47 by Todsapon
Created by: Todsapon
Comments: 0
Category: TextBox
Type: Feature Request
3

The textbox currently does not use the value attribute for value binding. This translates to a delay in setting the value upon initialization of the component, compared to a standard Blazor InputText.

 

<AdminEdit>

The same extends to the NumericTextBox

</AdminEdit>

Unplanned
Last Updated: 22 Feb 2022 07:36 by Roland
Created by: Roland
Comments: 0
Category: TextBox
Type: Feature Request
4
The request is for a TelerikLabel component that can provide automatic association to telerik inputs, and functionalities such as position - top/left/right.