I have a RadzenNumeric element defined like this,
<RadzenNumeric @bind-Value="Amount" Min="0.00M" Max="10000000.00M"/>
<ValidationMessage For="@(() => Amount)" />
Where Amount
is of type decimal
So when I enter a value that is greater than 10000000, say 20000000 and click out of the element, the value in the input field resets to the max value i.e. 10000000. But if I manually change the value to 20000000 again and click out of the field once more, the number does not change as is expected.
I have no clue why. I tried the example provided in blazor radzen library documentation Blazor Numeric | a free UI component by Radzen and there it works as expected. Need help to figure out what I did wrong.