Use same API for on-change, but add Date object(s) also
This commit is contained in:
parent
c2b7fed05f
commit
b5ca23f5ef
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
emitChange () {
|
emitChange () {
|
||||||
this.$emit('on-change', this.publicValue);
|
this.$emit('on-change', this.visualValue, this.publicValue);
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.dispatch('FormItem', 'on-form-change', this.publicValue);
|
this.dispatch('FormItem', 'on-form-change', this.publicValue);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue