-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
Another highlighting related issue in the master branch. This is best explained with an example, included below. With the blow example, if you type "Isabel", everything is good, but when you start typing the "S" for street (i.e. "Isabel S"), the second "S" rematches the with the "s" in "Isabel". If you continue typing the "t" (i.e. "Isabel St"), the "sabel" is deleted. The whole issue seems to be caused by the fact that highlighting is being applied to already matched words, causing this kind of weirdness.
See related issues #1141 and #1098.
<select id="select-test">
<option value="">Select a country...</option>
<option value="AL">Isabel Street</option>
</select>
$('#select-test').selectize();