alexgorbatchev / jquery-textext

A super awesome, customizable text input supporting tags, autocomplete, ajax and other goodness in a crazy cool a-la cart way.
http://textextjs.com
MIT License
1.27k stars 202 forks source link

Add ids for values #47

Closed nikepan closed 12 years ago

nikepan commented 12 years ago

For example

1, Delphi 2, C#

And keep it fpr processing. It is need for Arrow plugin

Thank you for good component!

nikepan commented 12 years ago

I wrote ItemManager for this. Not very good, but working.

alexgorbatchev commented 12 years ago

@nikepan That's exactly what ItemManager is for. Perhaps it might be a good idea to include a bunch of "common" types of managers? Could you pastebin yours?

iambibhas commented 11 years ago

@alexgorbatchev Even with ItemManager, the stringToItem method can only have access to the string value of the suggestion. So the server received the label only. Anyway we can send the id too?

I just saw an open issue for this: #73 , Any update?