Hi people, first off thanks for the terrific job done with the autocomplete pluggin. However I think I found a bug: I have an input text box with enabled autocomplete defined as follows:
$('#hostsTextBox').autocomplete(jsonHostsArray, { autoFill : true, multiple : true, mustMatch : true }); Lest assume the following jsonHostsArray variable as follows: jsonHostsArray = ['Windows', 'Linux', 'Mac']; So, when I type "w" something, it brings Windows suggestion. Fine. Now I set the cursor to the begging of the field and type "L". The letter makes is to the text box, the cursor automatically goes to the end of the box and suggestion shows "Linux" (which I choose by hitting the Enter key). The result is: "LWindows, Linux," which does not comply with the "mustMatch" option.. I guess when I typed "L" in the wrong position, the control missed to delete this incorrectly possitioned character besides from moving the cursor to the right place. Am I right? Thanks in advance!