Closed roshandevadiga closed 9 years ago
I think it would be better to allow user to pass his own subclass of jquery autocomplete widget as an option. Doing so we'd make a more generic solution.
Added option widget
, which allows you to provide customized implementation of autocomplete widget
How do I use this widget
option?
Modified the code to allow to have a heading for the UI list, to sub-categorize the list.
Example : Response : [{value:"I'm Following", is_header: true},{"uid":1,"value":"User1"},{"uid":2,"value":"User2"},{"uid":3,"value":"User3"},{value:"Other users", is_header: true},{"uid":4,"value":"User4"},{"uid":5,"value":"User5"}]
UI list will look like