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

Ignores the initial contents of input's value attribute #8

Closed necolas closed 13 years ago

necolas commented 13 years ago

For example, say you use this plugin in a web app that allows you to tag item (like delicious). Your web app also has an option to "edit tags" but if you include all the existing tags in the input's value attribute:

input value="dog, ball, sun, beach"

...the plugin appears to ignore this entirely. It would be great if it could populate the existing tags from the value retrieved from the server. This would make edits to selected tags possible.

wuyuntao commented 13 years ago

We already have a way to intial the autosuggest box by setting the preFill option.