Fixed issue #1554 Item autocomplete/search not working in invoice/bill
This commit is contained in:
parent
cdf0bf3761
commit
67da88944d
@ -620,7 +620,7 @@ export default {
|
||||
|
||||
methods: {
|
||||
remoteMethod(query) {
|
||||
document.getElementById('form-select-' + this.name).getElementsByTagName("input")[1].readOnly = false;
|
||||
document.getElementById('form-select-' + this.name).getElementsByTagName("input")[0].readOnly = false;
|
||||
|
||||
if (query !== '') {
|
||||
this.loading = true;
|
||||
|
@ -18,7 +18,7 @@
|
||||
<td class="border-right-0 border-bottom-0"
|
||||
:class="[{'has-error': form.errors.has('items.' + index + '.name') }]">
|
||||
@stack('name_input_start')
|
||||
<akaunting-select-remote
|
||||
<akaunting-select-remote id="form-select-item_id"
|
||||
:form-classes="[{'has-error': form.errors.has('items.' + index + '.name')}]"
|
||||
:placeholder="'{{ trans('general.type_item_name') }}'"
|
||||
:name="'item_id'"
|
||||
|
@ -18,7 +18,7 @@
|
||||
<td class="border-right-0 border-bottom-0"
|
||||
:class="[{'has-error': form.errors.has('items.' + index + '.name') }]">
|
||||
@stack('name_input_start')
|
||||
<akaunting-select-remote
|
||||
<akaunting-select-remote id="form-select-item_id"
|
||||
:form-classes="[{'has-error': form.errors.has('items.' + index + '.name')}]"
|
||||
:placeholder="'{{ trans('general.type_item_name') }}'"
|
||||
:name="'item_id'"
|
||||
|
Loading…
x
Reference in New Issue
Block a user