diff --git a/src/components/ADempiere/Form/VPOS/ProductInfo/index.vue b/src/components/ADempiere/Form/VPOS/ProductInfo/index.vue index 70f8b63b..9a612fac 100644 --- a/src/components/ADempiere/Form/VPOS/ProductInfo/index.vue +++ b/src/components/ADempiere/Form/VPOS/ProductInfo/index.vue @@ -47,8 +47,10 @@ clearable style="width: 100%;" popper-class="custom-field-prodcut-info" + :trigger-on-focus="true" :fetch-suggestions="localSearch" :select-when-unmatched="true" + :highlight-first-item="true" @shortkey.native="shortcutKeyMethod" @select="handleSelect" > @@ -162,12 +164,6 @@ export default { } }, localSearch(stringToMatch, callBack) { - if (this.isEmptyValue(stringToMatch)) { - // not show list - callBack([]) - return - } - let results = this.listWithPrice if (!this.isEmptyValue(stringToMatch)) { const parsedValue = stringToMatch.toLowerCase().trim() diff --git a/src/components/ADempiere/Form/VPOS/ProductInfo/productList.vue b/src/components/ADempiere/Form/VPOS/ProductInfo/productList.vue index 255e8cc7..b57b0211 100644 --- a/src/components/ADempiere/Form/VPOS/ProductInfo/productList.vue +++ b/src/components/ADempiere/Form/VPOS/ProductInfo/productList.vue @@ -37,8 +37,9 @@