Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HxInputNumber] Misleading validation message when value does not fit TValue #818

Open
franc-havit opened this issue Jun 6, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@franc-havit
Copy link

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
image

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).

@hakenr hakenr added this to the Backlog milestone Jun 6, 2024
@hakenr hakenr added the enhancement New feature or request label Jun 6, 2024
@hakenr hakenr changed the title [HxInputNumber] Misleading validation message [HxInputNumber] Misleading validation message when value does not fit TValue Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants