RadzenNumeric Max and Min on type

Hello,

I was wondering if there is a way aside from registering a Change method to prevent the typing of a value into a RadzenNumeric which is above or below the Max and Min values set on declaration.

For instance, with the online demo site, i can use the example with a max of 10 and min of 1 and can type in any value i would like.

Is the best solution a Change method to prevent this?

TIA!

We will do our best to find a way to handle this internally.

The latest version 2.10.13 should include a fix for this issue.

@korchev @enchev
Yes, the new fix is in place and verified on my end as well as working! Thanks so much!

@enchev @korchev

I am having another issue with this functionality that i just discovered. If i enter a value into my field with Max and Min parameters set and then tab out of the field. The number i input WITHIN the bounds of the max and min is reset to the min value. I then do it a second time, and it accepts the number input.

I will try to demonstrate with screenshots below

Initial load:
image

Type in my number:
image

Press tab or click out of the field:
image

Backspace the '1' and input '3' again
image

It is then accepted as the input.

Here is my declaration for that field.

<RadzenNumeric Min="1" Max="5" ReadOnly=readOnlySubmitted TValue="int?" Name="qSafety" @bind-Value="formEvaluation.qSafety" />

I confirm the next bug.
Field with set min and max values:


Initial start:
code1
Enter some value from keyboard:
code2
Click anywhere outside the field and voila:
code1
Variable value is reset to min. If used up down buttons error will not occur
Rolled back to stable 2.10.10

Fix will be released tomorrow.