{"action":"created","issue":{"url":"https://api.github.com/repos/yairEO/tagify/issues/68","repository_url":"https://api.github.com/repos/yairEO/tagify","labels_url":"https://api.github.com/repos/yairEO/tagify/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/yairEO/tagify/issues/68/comments","events_url":"https://api.github.com/repos/yairEO/tagify/issues/68/events","html_url":"https://github.com/yairEO/tagify/issues/68","id":325068069,"number":68,"title":"Tags with individual properties not working","user":{"login":"danielengels","id":6145739,"avatar_url":"https://avatars3.githubusercontent.com/u/6145739?v=4","gravatar_id":"","url":"https://api.github.com/users/danielengels","html_url":"https://github.com/danielengels","followers_url":"https://api.github.com/users/danielengels/followers","following_url":"https://api.github.com/users/danielengels/following{/other_user}","gists_url":"https://api.github.com/users/danielengels/gists{/gist_id}","starred_url":"https://api.github.com/users/danielengels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielengels/subscriptions","organizations_url":"https://api.github.com/users/danielengels/orgs","repos_url":"https://api.github.com/users/danielengels/repos","events_url":"https://api.github.com/users/danielengels/events{/privacy}","received_events_url":"https://api.github.com/users/danielengels/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-21T21:38:02Z","updated_at":"2018-05-22T12:10:15Z","closed_at":null,"author_association":"NONE","body":"if i try this like shown in the demo, the whitlist will fail. in the selectlist only the objects are display like [object Object]\r\n\r\n````\r\nvar allowedTags = [\r\n        {\r\n            \"value\"   : \"apple\",\r\n            \"data-id\" : 3,\r\n            \"class\"   : 'color-green'\r\n        },\r\n        {\r\n            \"value\"    : \"orange\",\r\n            \"data-id\"  : 56,\r\n            \"class\"    : 'color-orange'\r\n        },\r\n        {\r\n            \"value\"    : \"tomatto\",\r\n            \"data-id\"  : 17,\r\n            \"class\"    : 'color-darkred'\r\n        },\r\n        {\r\n            \"value\"    : \"banana\",\r\n            \"data-id\"  : 12,\r\n            \"class\"    : 'color-yellow'\r\n        }\r\n    ],\r\n    tagify31 = new Tagify(document.querySelector('input[name=tags3-1]'), {\r\n        whitelist : allowedTags\r\n    })\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/yairEO/tagify/issues/comments/390967030","html_url":"https://github.com/yairEO/tagify/issues/68#issuecomment-390967030","issue_url":"https://api.github.com/repos/yairEO/tagify/issues/68","id":390967030,"user":{"login":"yairEO","id":845031,"avatar_url":"https://avatars1.githubusercontent.com/u/845031?v=4","gravatar_id":"","url":"https://api.github.com/users/yairEO","html_url":"https://github.com/yairEO","followers_url":"https://api.github.com/users/yairEO/followers","following_url":"https://api.github.com/users/yairEO/following{/other_user}","gists_url":"https://api.github.com/users/yairEO/gists{/gist_id}","starred_url":"https://api.github.com/users/yairEO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yairEO/subscriptions","organizations_url":"https://api.github.com/users/yairEO/orgs","repos_url":"https://api.github.com/users/yairEO/repos","events_url":"https://api.github.com/users/yairEO/events{/privacy}","received_events_url":"https://api.github.com/users/yairEO/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T12:10:15Z","updated_at":"2018-05-22T12:10:15Z","author_association":"OWNER","body":"Checking this now"}}
{"actor":{"display_login":"yairEO"}}