You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Component has 2 error messages "Must be a whole number" and "Must be a decimal number". These messages are also applied when the input is outside of the bounds of the used data type.
Int64 example
It can be misleading for the user, because the input actually is a whole number. I would suggest adding MinValue and MaxValue parameters (already reported in issue #57) defaulting to min and max value of the used data type, and using proper error message notifying the user that input is outside of the range (defined by developer or default by data type).
The text was updated successfully, but these errors were encountered:
hakenr
changed the title
[HxInputNumber] Misleading validation message
[HxInputNumber] Misleading validation message when value does not fit TValue
Oct 14, 2024
Component has 2 error messages "Must be a whole number" and "Must be a decimal number". These messages are also applied when the input is outside of the bounds of the used data type.
Int64 example
It can be misleading for the user, because the input actually is a whole number. I would suggest adding MinValue and MaxValue parameters (already reported in issue #57) defaulting to min and max value of the used data type, and using proper error message notifying the user that input is outside of the range (defined by developer or default by data type).
The text was updated successfully, but these errors were encountered: