Emit event on input from date selector so parent element can respond

This commit is contained in:
leigh-mil
2019-09-25 15:58:04 -04:00
parent ad86dc33fc
commit c03820e53a
6 changed files with 14 additions and 6 deletions

View File

@@ -44,10 +44,6 @@ export default {
}
},
mounted: function() {
this.$root.$on('field-change', this.handleDateChange)
},
methods: {
handleDateChange: function(event) {
if (event.name.includes(START_DATE)) {