Use same API for on-change, but add Date object(s) also

This commit is contained in:
Sergio Crisostomo 2018-01-24 11:01:25 +01:00
parent c2b7fed05f
commit b5ca23f5ef

View file

@ -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);
});