wuyuntao / jquery-autosuggest

A fork of AutoSuggest jQuery plugin writtern by Drew Wilson.
http://github.com/wuyuntao/jquery-autosuggest
118 stars 59 forks source link

Prevent users from adding anything that is not in the results list #33

Closed jerefrer closed 11 years ago

jerefrer commented 11 years ago

I'm in a situation where I need to prevent the users from creating anything and just allow them to select items shown in the result list.

I don't think there is an easy way to do this, so I asked the question on SO and added my way of doing it.

But I think this if far from ideal, what's your take on this ? Maybe there should be an option to do just that ?

jerefrer commented 11 years ago

Turns out there is a better and maintained version of this plugin that already has this feature. Check this out : https://github.com/hlsolutions/jquery-autosuggest

PS : I had no issue at all when migrating from the old plugin to the new one. It was as simple as replacing the JS file.

knalli commented 11 years ago

Just for the record: I've marked breaking changes in the changelog.