rename validated event
This commit is contained in:
parent
eee3ed96ac
commit
066073fa54
3 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ export default {
|
||||||
methods: {
|
methods: {
|
||||||
validate() {
|
validate() {
|
||||||
if (this.$refs.form.validate()) {
|
if (this.$refs.form.validate()) {
|
||||||
this.$emit('confirm')
|
this.$emit('validated')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<FormDialog ref="main" buttonText="Login" @confirm="doLogin">
|
<FormDialog ref="main" buttonText="Login" @validated="doLogin">
|
||||||
<v-card-title class="headline">
|
<v-card-title class="headline">
|
||||||
Log In
|
Log In
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<FormDialog ref="main" buttonText="Register" @confirm="doRegister">
|
<FormDialog ref="main" buttonText="Register" @validated="doRegister">
|
||||||
<v-card-title class="headline">
|
<v-card-title class="headline">
|
||||||
Register
|
Register
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
|
|
Reference in a new issue