rniemeyer / knockout-jqAutocomplete

knockout-jqAutocomplete is a Knockout.js plugin designed to work with jQuery UI's autocomplete widget.
MIT License
49 stars 20 forks source link

Various improvements for edge cases, and simple lists #36

Closed milesvdw closed 1 year ago

milesvdw commented 6 years ago

-> Added support for typing in then tabbing out without selecting anything, which should select the first exact match (if any) -> Added support for clearing out text in input then tabbing out, which should clear the selection -> Added support for changing the underlying list, which should clear out the selection if there is no longer a valid match -> Fixed guards on various propNames.____ references

To be honest, the branch of your code that I was working on was pretty old. You've clearly done a lot of refactoring since then. I've done my best to merge my changes into yours, please take a look. Hopefully you'll find (as I did on the older version of your plugin) that these changes help the plugin handle a lot more edge cases which weren't being handled already.