diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index f990883d..2f9d8dc6 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -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 diff --git a/ayanova/src/views/acc-service-rate.vue b/ayanova/src/views/acc-service-rate.vue index c4b8068e..d949f060 100644 --- a/ayanova/src/views/acc-service-rate.vue +++ b/ayanova/src/views/acc-service-rate.vue @@ -84,6 +84,7 @@ :error-messages="form().serverErrors(this, 'unit')" :items="selectLists.priorUnits" @input="fieldValueChanged('unit')" + @update:search-input="vComboBoxWorkAroundForUnit" > @@ -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 && diff --git a/ayanova/src/views/acc-travel-rate.vue b/ayanova/src/views/acc-travel-rate.vue index 84959bbe..a42b9c31 100644 --- a/ayanova/src/views/acc-travel-rate.vue +++ b/ayanova/src/views/acc-travel-rate.vue @@ -84,6 +84,7 @@ :error-messages="form().serverErrors(this, 'unit')" :items="selectLists.priorUnits" @input="fieldValueChanged('unit')" + @update:search-input="vComboBoxWorkAroundForUnit" > @@ -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 &&