We are seeing a weird behavior with numeric text input set with min/max values. These are for questions that do not require an input (optional).
if a user types a value in the text box and then deletes their response, they wont be able to submit the form and the min value check kicks in, even though the question is not required and the value is blank. You can test this behavior here:
https://plnkr.co/plunk/0nb78OrTIfmk7vlY
This us causing issues with our end users. Please help.
I am not sure why the validation is happening for a blank field.
Hello Prashant,
Thank you for sharing the Plunker. I reproduced the issue. However, I couldn't investigate a survey JSON and check the library version. To help us move forward and research this issue, please clarify whether you're using the latest library version and share a survey JSON definition.
I look forward to your reply.
Hi Jane:
Please see the demo using this link:
https://plnkr.co/edit/kur27gWOF8fibNvg?preview
I believe it's using the latest version and it's a very simple JSON with a numeric value and min/max set.
Hello Prashant,
Yes, it is definitely a bug. We will fix it. Here is the related issue on GitHub.
Thank you,
Andrew
SurveyJS Team
The bug is fixed by this PR. The fix will be available in the version we release next week.
Thank you,
Andrew
SurveyJS Team