RadzenNumeric with Immediate=true moves cursor to the end while typing

Hello Radzen Team,

I am using RadzenNumeric in a Blazor MAUI/Hybrid project and I noticed an issue when Immediate="true" is enabled.

When I type or edit a numeric value, the cursor/caret automatically moves to the end of the input after each change. Because of this, it becomes very difficult to edit the value from the middle or beginning of the number.

For example, if the value is:

12345.00

and I place the cursor after "12" to change it, after typing one character the cursor jumps to the end of the input. This makes normal editing almost impossible.

Example component:

<RadzenNumeric @bind-Value="ImmediateQuantity"
TValue="decimal?"
Format="#.00"
Style="width:100%;"
Immediate="true" />

Code:

public decimal? ImmediateQuantity { get; set; }

Expected behavior:
When Immediate="true" is enabled, the value should update immediately, but the cursor position should be preserved while typing.

Actual behavior:
The value updates immediately, but the cursor always moves to the end of the input.

Could you please check if this is a bug in RadzenNumeric, or advise if there is a recommended workaround for preserving the cursor position while using Immediate="true"?

Thank you.

This should fix the problem:

It will be part of our next update early next week.

1 Like