set value of checkbox to false when modal closes

This commit is contained in:
leigh-mil
2019-06-17 16:20:55 -04:00
parent 71340fd039
commit 1aab857a1e
3 changed files with 17 additions and 5 deletions

View File

@@ -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
},
},
}