jquery-tokeninput
jquery-tokeninput copied to clipboard
Some tags get enclosed in single quotes
Hi I've noticed that some tags get enclosed in single quotes. I couldn't identify a pattern though. Is this a bug that you're aware of or could it be that I'm doing something wrong?
It seems the last tag in the list that gets enclosed in single quotes.
Hey @myresearchstyle. Can you provide a more detailed explanation of this? I couldn't understand what is the issue you are pointing.
Thanks.
Same problem.
Parameters: "tag_list"=>"'Spotify','Mobile'"
ActsAsTaggableOn::Tag Load (1.3ms) SELECT "tags".* FROM "tags" WHERE (name ILIKE 'Spotify' OR name ILIKE '''Mobile''')
INSERT INTO "tags" ("name") VALUES ($1) RETURNING "id" [["name", "'Mobile'"]]
First tag (Spotify) shows ok but second (Mobile) shows 'Mobile'