Categories | Question details Back To List | ||
dhtmlxcombo inverse selection Hi, I would like to ask, that how can i disable the autocomplete for the dhtmlxcombo's input field? I mean, when i type in the input field, and the drop down list is filtering on every keypress, its automatically puts in the input field the first element of the list with inverse selection. I do not need to fill the input field automatically, only the suggested elements in the dropdown list is needed. Thank u. Answer posted by Stanislav (support) on Oct 14, 2009 04:07 Are you using client side or server side filtering ? The next version will have such behavior disabled for server side filtering ( you can contact us at support@dhtmlx.com , if you need an updated js file ) As fast solution you can change the next lines in source code dhtmlxcombo.js, lines 846-852 if (filter){ var text=this.getComboText(); if (text!=data[1]){ this.setComboText(data[1]); dhtmlXRange(this.DOMelem_input,text.length+1,data[1].length); } } can be changed as if (filter){ } |