email field autofocus during registration
This commit is contained in:
@@ -42,10 +42,12 @@ export default {
|
|||||||
return !this.user.password || !this.user.email || !this.user.description
|
return !this.user.password || !this.user.email || !this.user.description
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
mounted () {
|
||||||
|
this.$refs.email.focus()
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
close () {
|
close () {
|
||||||
this.$router.replace('/')
|
this.$router.replace('/')
|
||||||
this.$emit('close')
|
|
||||||
},
|
},
|
||||||
async register () {
|
async register () {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
|||||||
Reference in New Issue
Block a user