Number question validation message does not consider min max value given in the question
Describe the bug The validation message for a number field displays "The answer should be a number between <INT_MIN> and <INT_MAX>" when input a non-numeric character. This should rather be the min and max value (if) given in the questionnaire item.
Component Core library, SDC library, reference app, or SDC gallery app
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior The validation message should be, for example, "The answer should be a number between 30 and 200."
Screenshots If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
- Device: [e.g. Pixel4a emulator]
- Android version: [e.g. Settings -> About phone -> Android version]
- Build number: [e.g. Settings -> About phone -> Build number]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
Would you like to work on the issue? Please state if this issue should be assigned to you or who you think could help to solve this issue.
@MJ1998 can I pick this up?
Yes, I would like to work on this issue.