Skip to content

Commit

Permalink
Merge pull request #11500 from a6ar55/release-v0.16.x
Browse files Browse the repository at this point in the history
Pressing enter to submit the Super Admin creation form in the Setup Wizard and show form validation error #11465
  • Loading branch information
jredrejo authored Nov 24, 2023
2 parents 8048572 + 7e58d07 commit 96c41cc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@
this.$emit('submitNewPassword');
} else {
// Blurring will cause validation errors to show if needed
e.target.blur();
this.confirmationBlurred = true;
e.preventDefault(); // Prevent the default form submission
}
},
},
Expand Down

0 comments on commit 96c41cc

Please sign in to comment.