From b5ca23f5ef46887d49582fa849e4561b2dbd66a3 Mon Sep 17 00:00:00 2001 From: Sergio Crisostomo Date: Wed, 24 Jan 2018 11:01:25 +0100 Subject: [PATCH] Use same API for on-change, but add Date object(s) also --- src/components/date-picker/picker.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/date-picker/picker.vue b/src/components/date-picker/picker.vue index 16d2c4c..f288b2c 100644 --- a/src/components/date-picker/picker.vue +++ b/src/components/date-picker/picker.vue @@ -287,7 +287,7 @@ ); }, emitChange () { - this.$emit('on-change', this.publicValue); + this.$emit('on-change', this.visualValue, this.publicValue); this.$nextTick(() => { this.dispatch('FormItem', 'on-form-change', this.publicValue); }); -- libgit2 0.21.4