set value of checkbox to false when modal closes
This commit is contained in:
@@ -10,6 +10,7 @@ export default {
|
||||
data: function() {
|
||||
return {
|
||||
valid: false,
|
||||
checked: false,
|
||||
}
|
||||
},
|
||||
|
||||
@@ -17,5 +18,11 @@ export default {
|
||||
toggleValid: function() {
|
||||
this.valid = !this.valid
|
||||
},
|
||||
|
||||
handleClose: function() {
|
||||
this.$root.closeModal(this.name)
|
||||
this.checked = false
|
||||
this.valid = false
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user