Fix a few things with the form
This commit is contained in:
parent
c1abc028e1
commit
135775cfc6
@ -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")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user