close #1554 Fixed: Item autocomplete/search not working in invoice/bill
This commit is contained in:
		@@ -620,7 +620,9 @@ export default {
 | 
			
		||||
 | 
			
		||||
    methods: {
 | 
			
		||||
        remoteMethod(query) {
 | 
			
		||||
            document.getElementById('form-select-' + this.name).getElementsByTagName("input")[0].readOnly = false;
 | 
			
		||||
            if (document.getElementById('form-select-' + this.name)) {
 | 
			
		||||
                document.getElementById('form-select-' + this.name).getElementsByTagName("input")[0].readOnly = false;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (query !== '') {
 | 
			
		||||
                this.loading = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user