alexgorbatchev/jquery-textext — Issue #27: Can not make the tag Unique
Author: filod
Created: 2012-02-23 13:14:38+00:00
State: open

if i wan't create a friend selector,
my data point is like:
[
{ id : 1, name : 'bob" ,avatar: "1.jpg" } ,
{ id : 2, name : 'bob" ,avatar: "2.jpg" } ,
{ id : 3, name : 'bob" ,avatar: "3.jpg" } ,
]

as U see, 3 friends have the same name, but diffrent avatar, with custom "autocomplete.render" method I can distinguish them.

but in custom stringToItem , i don't know how to distinguish them ~~