Search query string is overwritten

Hi Support,



I m using dhtmlx combo ,i have modified Regx for substring match in whole string, after searching,the first search record overwrite the text in search text box and the search query is lost , how do i stop this overwritting in text box



Regards

Nixon

In filtration mode, combo takes first match from list of options, and autocomplete existing value with it, probably after your modification autocomplete can’t work correctly which cause issues.

You can try to comment next lines in dhtmlxcombo.js
lines 866-873
if (filter){
var text=this.getComboText();
if (text!=data[1]){
this.setComboText(data[1]);
dhtmlXRange(this.DOMelem_input,text.length+1,data[1].length);
}
}
else