mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
set function onReset on created components for clear form
This commit is contained in:
parent
902d45e8d2
commit
d013bd9de1
@ -184,8 +184,7 @@ export default {
|
||||
memo: this.form.memo,
|
||||
})
|
||||
},
|
||||
onReset(event) {
|
||||
event.preventDefault()
|
||||
onReset() {
|
||||
this.form.email = ''
|
||||
this.form.amount = ''
|
||||
this.form.memo = ''
|
||||
@ -213,6 +212,7 @@ export default {
|
||||
},
|
||||
},
|
||||
created() {
|
||||
this.onReset()
|
||||
this.form.email = this.recipientEmail ? this.recipientEmail : ''
|
||||
},
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user