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: {
|
||||
validate() {
|
||||
if (this.$refs.form.validate()) {
|
||||
this.$emit('confirm')
|
||||
this.$emit('validated')
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<FormDialog ref="main" buttonText="Login" @confirm="doLogin">
|
||||
<FormDialog ref="main" buttonText="Login" @validated="doLogin">
|
||||
<v-card-title class="headline">
|
||||
Log In
|
||||
</v-card-title>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<FormDialog ref="main" buttonText="Register" @confirm="doRegister">
|
||||
<FormDialog ref="main" buttonText="Register" @validated="doRegister">
|
||||
<v-card-title class="headline">
|
||||
Register
|
||||
</v-card-title>
|
||||
|
|
Reference in a new issue