We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cf5818 commit 9836bb4Copy full SHA for 9836bb4
Auth/LearningHub.Nhs.Auth/Views/Shared/_ValidationScriptsPartial.cshtml
@@ -21,7 +21,7 @@
21
22
let errorElements = [];
23
let submitAttempted = false;
24
- document.querySelector('form').onsubmit = () => { submitAttempted = true; }
+ document.querySelector('form').onsubmit = () => { submitAttempted = true; errorElements = []; }
25
26
$(function () {
27
$('form').each(function () {
0 commit comments