First off, this is an awesome implementation of the multi-select with the type-ahead capability.
In my case, I need an additional functionality.
I would like to allow my users to make suggestions for new items for the drop-down.
For example, based on your demo, I'd like my user to be able to enter "Los Angeles" and upon hitting the enter key, send "Los Angeles" next to the other cities that they may have selected. Ex: [ Lisbon(x), Berlin(x), Los Angeles(x) ]
This way, I can take Los Angeles in (as a new suggestion ) to me, and treat it thru my admin interface. It's up to me to take it or discard it at the server side. ( If I see that as a valid city, I can add it to my allowed set so the next time a new user come to the site, he can see Los Angeles as part of the drop-down items. )
With this approach, I can help grow this database thru crowd sourcing.
But, the current implementation ignores the items that are not found in the drop-down set.
And hence the question...
Is it easy to allow what I'm suggesting? Could you kindly lead me to which part in the code I need to edit?
Hello,
First off, this is an awesome implementation of the multi-select with the type-ahead capability.
In my case, I need an additional functionality. I would like to allow my users to make suggestions for new items for the drop-down.
For example, based on your demo, I'd like my user to be able to enter "Los Angeles" and upon hitting the enter key, send "Los Angeles" next to the other cities that they may have selected. Ex: [ Lisbon(x), Berlin(x), Los Angeles(x) ]
This way, I can take Los Angeles in (as a new suggestion ) to me, and treat it thru my admin interface. It's up to me to take it or discard it at the server side. ( If I see that as a valid city, I can add it to my allowed set so the next time a new user come to the site, he can see Los Angeles as part of the drop-down items. )
With this approach, I can help grow this database thru crowd sourcing.
But, the current implementation ignores the items that are not found in the drop-down set. And hence the question...
Is it easy to allow what I'm suggesting? Could you kindly lead me to which part in the code I need to edit?