2
0
mirror of https://github.com/frappe/books.git synced 2025-01-24 15:48:25 +00:00

fix Autocomplete in table

This commit is contained in:
Faris Ansari 2018-09-26 20:37:59 +05:30
parent 110300005e
commit 66ee79db22
2 changed files with 5 additions and 2 deletions

View File

@ -10,6 +10,9 @@ export default {
highlightedItem: -1 highlightedItem: -1
} }
}, },
render(h) {
return this.getWrapperElement(h);
},
methods: { methods: {
getInputListeners() { getInputListeners() {
return { return {
@ -44,7 +47,7 @@ export default {
}, },
getChildrenElement(h) { getChildrenElement(h) {
return [ return [
this.getLabelElement(h), this.onlyInput ? null : this.getLabelElement(h),
this.getInputElement(h), this.getInputElement(h),
this.getDropdownElement(h) this.getDropdownElement(h)
]; ];

View File

@ -44,7 +44,7 @@ export default {
}, },
getChildrenElement(h) { getChildrenElement(h) {
return [ return [
this.getLabelElement(h), this.onlyInput ? null : this.getLabelElement(h),
this.getInputGroupElement(h), this.getInputGroupElement(h),
this.getDropdownElement(h) this.getDropdownElement(h)
]; ];