{"action":"opened","issue":{"url":"https://api.github.com/repos/betaWeb/inputTags-jQuery-plugin/issues/3","labels_url":"https://api.github.com/repos/betaWeb/inputTags-jQuery-plugin/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/betaWeb/inputTags-jQuery-plugin/issues/3/comments","events_url":"https://api.github.com/repos/betaWeb/inputTags-jQuery-plugin/issues/3/events","html_url":"https://github.com/betaWeb/inputTags-jQuery-plugin/issues/3","id":112096429,"number":3,"title":"Specifying default values isn't working","user":{"login":"corneschouten","id":14542779,"avatar_url":"https://avatars.githubusercontent.com/u/14542779?v=3","gravatar_id":"","url":"https://api.github.com/users/corneschouten","html_url":"https://github.com/corneschouten","followers_url":"https://api.github.com/users/corneschouten/followers","following_url":"https://api.github.com/users/corneschouten/following{/other_user}","gists_url":"https://api.github.com/users/corneschouten/gists{/gist_id}","starred_url":"https://api.github.com/users/corneschouten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corneschouten/subscriptions","organizations_url":"https://api.github.com/users/corneschouten/orgs","repos_url":"https://api.github.com/users/corneschouten/repos","events_url":"https://api.github.com/users/corneschouten/events{/privacy}","received_events_url":"https://api.github.com/users/corneschouten/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-19T08:24:57Z","updated_at":"2015-10-19T08:24:57Z","closed_at":null,"body":"Specifying default values like in the example you give on the documentation page isn't working.\r\n\r\n<input type=\"text\" value=\"one,two,three\" id=\"tags\" />\r\n$('#tags').inputTags();\r\n\r\nWhen you execute the code above you won't see any tags.\r\n\r\nIn the 'fill' function the length of self.options.tags is checked, but this isn't set at this point. When you change self.options.tags.length to self.tags.length the problem is solved."}}