goNextPageAutomatic causes validation error to show up on page load
See original GitHub issueAre you requesting a feature, reporting a bug or asking a question?
bug
What is the current behavior?
When goNextPageAutomatic is true, sometimes the field validation error (for required) will show up before the user enters anything in the field.
What is the expected behavior?
The field validation should happen after user input
How would you reproduce the current behavior (if this is a bug)?
Set goNextPageAutomatic to be true, One question per page (that’s my current setting, not sure if this is related)
Provide the test code and the tested page URL (if applicable)
Tested page URL: https://surveyjs.io/published?id=cddefda3-d450-4804-ac3b-274898e09212
It happens to both my local copy (without using service) and the service version.
Test code
your_code_here
Specify your
- browser:
- browser version:
- surveyjs platform (angular or react or jquery or knockout or vue):
- surveyjs version:
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
50. WAI-ARIA validation error is present when page loads
Description: A WAI-ARIA validation error message is already present on the page when the page is loaded. Context: Validation messages should ...
Read more >MVC Razor Validation Errors showing on page load when no ...
When I click on the link to view the AddUser page, validation messages are showing after it loads, yet at this point no...
Read more >SurveyModel | SurveyJS
The SurveyModel object contains properties and methods that allow you to control the survey and access its elements. View Demo.
Read more >Show Validation Error Message on Page Load - YouTube
In this video, I am going to show you, How to Show Validation Error message on Page Load.
Read more >Error messages - Shopify Polaris
If the cause of the error is visible and the error just happened, show the ... Admin page load error ... Text field...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@andrewtelnov Thanks Andrew. It does not work in Chrome for me, either. I’m on Chrome 68.0.3440.106 (Official Build) (64-bit), Mac OS X.
@andrewtelnov Hi Andrew, could you try a few more times? I happened to me in the plnkr example. After hitting the Next button and going to this page, before I enter anything, the error message shows up.
Appreciate your help!