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

The validate() method ignores the focusOnFirstError parameter #8228

Closed
JaneSjs opened this issue May 3, 2024 · 0 comments · Fixed by #8229
Closed

The validate() method ignores the focusOnFirstError parameter #8228

JaneSjs opened this issue May 3, 2024 · 0 comments · Fixed by #8229
Assignees
Labels
bug user issue An issue or bug reported by users
Milestone

Comments

@JaneSjs
Copy link
Contributor

JaneSjs commented May 3, 2024

Regardless of the survey.validate(false, false) function, an invalid form value is focused.

A reproducible demo is available at T18008 - unwanted focus on validation.

@JaneSjs JaneSjs added bug user issue An issue or bug reported by users labels May 3, 2024
@andrewtelnov andrewtelnov self-assigned this May 3, 2024
@andrewtelnov andrewtelnov added this to the v1.10.3 milestone May 3, 2024
andrewtelnov added a commit that referenced this issue May 3, 2024
…unction doesn't prevent an invalid value from being focused fix #8228
tsv2013 pushed a commit that referenced this issue May 3, 2024
…unction doesn't prevent an invalid value from being focused fix #8228 (#8229)
@RomanTsukanov RomanTsukanov changed the title The focusOnFirstError: false parameter within the survey.validate() function doesn't prevent an invalid value from being focused The validate() method ignores the focusOnFirstError parameter May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug user issue An issue or bug reported by users
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants