Opened

NumericPicker with too high Integer values

alos_dev commented

Hi there,

I have following NumericPicker:

<NumericPicker TValue=int @bind-Value="pickerValue" Decimals=0 Min="1" Max="100" autocomplete=off></NumericPicker>

When entering a value above max it will be set to max, but only if the value is not too high. For example, when I enter the value 2224442224444 it won't be reset to max. But the value in pickerValue will be default.

I assume that the problem correspond with integer max value. I would assume that the value would still be set to max even if it is very high.

mladenmacanovic commented

The picker should allow the input of the value larger than the max, but once it loses the focus it should override it with int.MaxValue.

alos_dev commented

This does not happen in my case. The large value consists when leaving the field.

mladenmacanovic commented

Can you tell us what is your Blazorise version?

alos_dev commented

Sure: 1.0.4

mladenmacanovic commented

Thanks. I was able to reproduce it and will try to bring fix with the next update.

Want to comment on this issue? Log in and write your comment.
Asignee
No assignee
Labels
No Labels