Fix a few things with the form

This commit is contained in:
Hubert Van De Walle 2020-04-12 15:06:26 +02:00
parent c1abc028e1
commit 135775cfc6

View File

@ -37,6 +37,7 @@
required
placeholder="Enter a password"
:state="validPassword"
type="password"
></b-form-input>
<b-form-invalid-feedback :state="validPassword">
Your password must be at least 6 characters long.
@ -50,9 +51,10 @@
required
placeholder="Confirm your password"
:state="passwordEquals"
type="password"
></b-form-input>
<b-form-invalid-feedback :state="passwordEquals">
Your password must be at least 6 characters long.
Both passwords must be equals.
</b-form-invalid-feedback>
</b-form-group>
@ -95,7 +97,6 @@
},
methods: {
handleSubmit() {
console.log("submitted")
if (this.validInput) {
console.log("Valid")
}