case 4106

This commit is contained in:
2022-02-11 02:19:51 +00:00
parent ae5e2f33e6
commit f632accad8
4 changed files with 34 additions and 1 deletions

View File

@@ -895,7 +895,7 @@ BUILD 8.0.0-beta.0.14 CHANGES OF NOTE
- case 4100 bumped
- case 4102 bumped
- case 4105 implemented
- case 4106 not reproducible see notes
- case 4106 fixed, also in part UOM
- case 4107 not reproducible see notes
- case 4108 fixed
- case 4109 closed

View File

@@ -84,6 +84,7 @@
:error-messages="form().serverErrors(this, 'unit')"
:items="selectLists.priorUnits"
@input="fieldValueChanged('unit')"
@update:search-input="vComboBoxWorkAroundForUnit"
></v-combobox>
</v-col>
@@ -323,6 +324,16 @@ export default {
form() {
return window.$gz.form;
},
vComboBoxWorkAroundForUnit(currentValue) {
//shitty workaround due to bug https://github.com/vuetifyjs/vuetify/issues/4679#issuecomment-682456398
//fires every time the control changes so check to see if actual change or not
if (currentValue == this.obj.unit) {
return;
}
this.obj.unit = currentValue;
this.fieldValueChanged("unit");
},
fieldValueChanged(ref) {
if (
this.formState.ready &&

View File

@@ -84,6 +84,7 @@
:error-messages="form().serverErrors(this, 'unit')"
:items="selectLists.priorUnits"
@input="fieldValueChanged('unit')"
@update:search-input="vComboBoxWorkAroundForUnit"
></v-combobox>
</v-col>
<v-col
@@ -316,6 +317,16 @@ export default {
form() {
return window.$gz.form;
},
vComboBoxWorkAroundForUnit(currentValue) {
//shitty workaround due to bug https://github.com/vuetifyjs/vuetify/issues/4679#issuecomment-682456398
//fires every time the control changes so check to see if actual change or not
if (currentValue == this.obj.unit) {
return;
}
this.obj.unit = currentValue;
this.fieldValueChanged("unit");
},
fieldValueChanged(ref) {
if (
this.formState.ready &&

View File

@@ -84,6 +84,7 @@
:error-messages="form().serverErrors(this, 'unitOfMeasure')"
:items="selectLists.priorUnits"
@input="fieldValueChanged('unitOfMeasure')"
@update:search-input="vComboBoxWorkAroundForUnit"
></v-combobox>
</v-col>
@@ -443,6 +444,16 @@ export default {
form() {
return window.$gz.form;
},
vComboBoxWorkAroundForUnit(currentValue) {
//shitty workaround due to bug https://github.com/vuetifyjs/vuetify/issues/4679#issuecomment-682456398
//fires every time the control changes so check to see if actual change or not
if (currentValue == this.obj.unitOfMeasure) {
return;
}
this.obj.unitOfMeasure = currentValue;
this.fieldValueChanged("unitOfMeasure");
},
fieldValueChanged(ref) {
if (
this.formState.ready &&