Hi Guys
I am building an app that has a messaging system similar to facebook. I want to use the functionality of auto_complete to select from a list of friends possible recipients.
I want to be able to type a name, choose from the options, add a comma, get a new list of options from the database, and choose additional recipients, without loosing the previous selections.
I could modify auto_complete_for_user_login(options = {}) to return a new selection of options from the db based only on the last part of the textfield value by stripping the text before the last comma before doing the call to get @items. However, when I make a selection the textfield value is replaced with the new user’s login.
Has anyone done something like this?
Regards Ivor