mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
when creating the register page, everything in the form is set to blank
This commit is contained in:
parent
dfd4ebf155
commit
87eddd9716
@ -205,13 +205,7 @@ export default {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.form.email = ''
|
this.$router.push('/thx/register')
|
||||||
this.form.firstname = ''
|
|
||||||
this.form.lastname = ''
|
|
||||||
this.form.password.password = ''
|
|
||||||
this.form.password.passwordRepeat = ''
|
|
||||||
this.language = ''
|
|
||||||
this.$router.push('/thx/register')
|
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
this.showError = true
|
this.showError = true
|
||||||
@ -242,6 +236,15 @@ export default {
|
|||||||
return this.form.email !== ''
|
return this.form.email !== ''
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
created() {
|
||||||
|
this.messageError = ''
|
||||||
|
this.form.email = ''
|
||||||
|
this.form.firstname = ''
|
||||||
|
this.form.lastname = ''
|
||||||
|
this.form.password.password = ''
|
||||||
|
this.form.password.passwordRepeat = ''
|
||||||
|
this.language = ''
|
||||||
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style></style>
|
<style></style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user