jquery-tokeninput icon indicating copy to clipboard operation
jquery-tokeninput copied to clipboard

Fixed bug where 'id' property was used for duplicate checking rather than settings.tokenValue.

Open ashic opened this issue 14 years ago • 1 comments

add_token was explicitly checking for 'id' property for duplicate checking. If user passed in a tokenValue via settings, 'id' would be undefined. In this case, adding multiple items through $(..).tokenInput('add', {..}) became impossible.

ashic avatar Sep 02 '11 10:09 ashic

Just confirming here that this is exactly what I did to fix this issue as well.

janhartigan avatar Jan 15 '12 21:01 janhartigan