sergiodlopes / jquery-flexdatalist

Flexible input autocomplete/datalist plugin for jQuery
http://projects.sergiodinislopes.pt/flexdatalist/
MIT License
365 stars 84 forks source link

change:flexdatalist not fired if replacing one character #209

Open ZTHawk opened 5 years ago

ZTHawk commented 5 years ago

When binding to the "change:flexdatalist" event then this event is only fired if adding or removing charecters. Eg: If the input has the following text "abc" and I select the character "c" and then hit "d" then there is no "change" event fired.

reneecst commented 4 years ago

Maybe you can try adding "data-min-length" in your input field. <input type="text" class="flexdatalist" data-min-length="1" list="listName" />