This commit is contained in:
@@ -76,7 +76,16 @@ export default {
|
|||||||
vm.$gzHandleFormError(err);
|
vm.$gzHandleFormError(err);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
value() {
|
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
|
||||||
|
this.$emit("change", val); //always in UTC
|
||||||
|
// }
|
||||||
// this.localValue = this.value;
|
// this.localValue = this.value;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -222,7 +222,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
/* Xeslint-disable */
|
/* eslint-disable */
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
const FORM_KEY = "inventory-widget-edit";
|
const FORM_KEY = "inventory-widget-edit";
|
||||||
@@ -396,6 +396,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
onChange(ref) {
|
onChange(ref) {
|
||||||
if (!this.formState.loading && !this.formState.readOnly) {
|
if (!this.formState.loading && !this.formState.readOnly) {
|
||||||
|
if(ref=="tags") console.log("TAGS CHANGED");
|
||||||
this.$gzform.onChange(this, ref);
|
this.$gzform.onChange(this, ref);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user