Try to solve a problem in user registration not working with saved credentials on Google Chrome

This commit is contained in:
Dillon Ngo
2023-11-28 23:17:50 +08:00
parent 5cdbc09c5b
commit 19f0eb5e9b
@@ -6,7 +6,11 @@
<error-message-component class="m-b-20" :error="error"></error-message-component>
<div class="row">
<div class="col">
<div class="row" v-show="step === 1">
<!-- https://stackoverflow.com/questions/15738259/disabling-chrome-autofill -->
<!-- these fields are workaround for google autofill on the wrong fields -->
<input style="display: none" type="email" name="email" />
<input style="display: none" type="password" name="password" />
<div class="row" v-show="step === 1">
<div class="col">
<div class="row m-b-15">
<div class="col">
@@ -304,4 +308,4 @@
},
mixins: [registrationFormValidation]
}
</script>
</script>