InputNumber bound to int? fails to validate when its content is emtpy
nangelgr opened this issue · comments
nangelgr commented
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
InputNumber bound to int? (nullable integer)
I would expect it to validate if empty and set the corresponding value to null and vice versa
The following though works fine: When the corresponding value is null its content is set to empty but when empty it does not set the value to null and successfully validate Which it does not
Expected Behavior
I would expect InputNumber to validate correctly when empty and set its corresponding value to null when bound to int?
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
.net 8.0.2
Anything else?
No response