Emit event on input from date selector so parent element can respond
This commit is contained in:
@@ -195,6 +195,12 @@ export default {
|
||||
watch: this.watch,
|
||||
valid: this.isDateValid,
|
||||
})
|
||||
|
||||
this.$emit('date-change', {
|
||||
value: this.formattedDate,
|
||||
name: this.name,
|
||||
valid: this.isDateValid,
|
||||
})
|
||||
},
|
||||
|
||||
_emitChange: function(name, value, valid) {
|
||||
|
Reference in New Issue
Block a user