case 4106
This commit is contained in:
@@ -895,7 +895,7 @@ BUILD 8.0.0-beta.0.14 CHANGES OF NOTE
|
|||||||
- case 4100 bumped
|
- case 4100 bumped
|
||||||
- case 4102 bumped
|
- case 4102 bumped
|
||||||
- case 4105 implemented
|
- case 4105 implemented
|
||||||
- case 4106 not reproducible see notes
|
- case 4106 fixed, also in part UOM
|
||||||
- case 4107 not reproducible see notes
|
- case 4107 not reproducible see notes
|
||||||
- case 4108 fixed
|
- case 4108 fixed
|
||||||
- case 4109 closed
|
- case 4109 closed
|
||||||
|
|||||||
@@ -84,6 +84,7 @@
|
|||||||
:error-messages="form().serverErrors(this, 'unit')"
|
:error-messages="form().serverErrors(this, 'unit')"
|
||||||
:items="selectLists.priorUnits"
|
:items="selectLists.priorUnits"
|
||||||
@input="fieldValueChanged('unit')"
|
@input="fieldValueChanged('unit')"
|
||||||
|
@update:search-input="vComboBoxWorkAroundForUnit"
|
||||||
></v-combobox>
|
></v-combobox>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
@@ -323,6 +324,16 @@ export default {
|
|||||||
form() {
|
form() {
|
||||||
return window.$gz.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) {
|
fieldValueChanged(ref) {
|
||||||
if (
|
if (
|
||||||
this.formState.ready &&
|
this.formState.ready &&
|
||||||
|
|||||||
@@ -84,6 +84,7 @@
|
|||||||
:error-messages="form().serverErrors(this, 'unit')"
|
:error-messages="form().serverErrors(this, 'unit')"
|
||||||
:items="selectLists.priorUnits"
|
:items="selectLists.priorUnits"
|
||||||
@input="fieldValueChanged('unit')"
|
@input="fieldValueChanged('unit')"
|
||||||
|
@update:search-input="vComboBoxWorkAroundForUnit"
|
||||||
></v-combobox>
|
></v-combobox>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col
|
<v-col
|
||||||
@@ -316,6 +317,16 @@ export default {
|
|||||||
form() {
|
form() {
|
||||||
return window.$gz.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) {
|
fieldValueChanged(ref) {
|
||||||
if (
|
if (
|
||||||
this.formState.ready &&
|
this.formState.ready &&
|
||||||
|
|||||||
@@ -84,6 +84,7 @@
|
|||||||
:error-messages="form().serverErrors(this, 'unitOfMeasure')"
|
:error-messages="form().serverErrors(this, 'unitOfMeasure')"
|
||||||
:items="selectLists.priorUnits"
|
:items="selectLists.priorUnits"
|
||||||
@input="fieldValueChanged('unitOfMeasure')"
|
@input="fieldValueChanged('unitOfMeasure')"
|
||||||
|
@update:search-input="vComboBoxWorkAroundForUnit"
|
||||||
></v-combobox>
|
></v-combobox>
|
||||||
</v-col>
|
</v-col>
|
||||||
|
|
||||||
@@ -443,6 +444,16 @@ export default {
|
|||||||
form() {
|
form() {
|
||||||
return window.$gz.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) {
|
fieldValueChanged(ref) {
|
||||||
if (
|
if (
|
||||||
this.formState.ready &&
|
this.formState.ready &&
|
||||||
|
|||||||
Reference in New Issue
Block a user