This commit is contained in:
2019-06-21 20:41:20 +00:00
parent a4f61efe37
commit 0a98f703d1
3 changed files with 41 additions and 134 deletions

View File

@@ -76,14 +76,9 @@ export default {
vm.$gzHandleFormError(err);
});
},
value(val) {
// var hasChanged = false;
// if (this.oldDate != null && this.date != this.oldDate) {
// hasChanged = true;
// }
// this.oldDate = this.date;
// if (hasChanged) {
this.$emit("input", val); //always in UTC
value(val) {
//this ensures the parent form gets the onchange event
this.$emit("input", val);
this.$emit("change", val); //always in UTC
// }
// this.localValue = this.value;