Do not submit the activation form on enter if form is invalid

This commit is contained in:
Johannes Zellner
2025-05-22 15:15:45 +02:00
parent 93261c63b5
commit 41901be95f
+1 -1
View File
@@ -84,7 +84,7 @@ onMounted(async () => {
<form @submit.prevent="onOwnerSubmit()" autocomplete="off">
<fieldset :disabled="busy">
<input type="submit" style="display: none;"/>
<input type="submit" style="display: none;" :disabled="busy || !isValid"/>
<FormGroup :has-error="formError.displayName">
<label for="displayNameInput">Full Name</label>