{"action":"created","issue":{"url":"https://api.github.com/repos/tuupola/jquery_chained/issues/35","repository_url":"https://api.github.com/repos/tuupola/jquery_chained","labels_url":"https://api.github.com/repos/tuupola/jquery_chained/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/tuupola/jquery_chained/issues/35/comments","events_url":"https://api.github.com/repos/tuupola/jquery_chained/issues/35/events","html_url":"https://github.com/tuupola/jquery_chained/issues/35","id":42626018,"number":35,"title":"Support `<optgroup>`","user":{"login":"kAlvaro","id":1327350,"avatar_url":"https://avatars.githubusercontent.com/u/1327350?v=3","gravatar_id":"","url":"https://api.github.com/users/kAlvaro","html_url":"https://github.com/kAlvaro","followers_url":"https://api.github.com/users/kAlvaro/followers","following_url":"https://api.github.com/users/kAlvaro/following{/other_user}","gists_url":"https://api.github.com/users/kAlvaro/gists{/gist_id}","starred_url":"https://api.github.com/users/kAlvaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kAlvaro/subscriptions","organizations_url":"https://api.github.com/users/kAlvaro/orgs","repos_url":"https://api.github.com/users/kAlvaro/repos","events_url":"https://api.github.com/users/kAlvaro/events{/privacy}","received_events_url":"https://api.github.com/users/kAlvaro/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tuupola/jquery_chained/labels/2.0","name":"2.0","color":"0052cc"},{"url":"https://api.github.com/repos/tuupola/jquery_chained/labels/feature","name":"feature","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"tuupola","id":21913,"avatar_url":"https://avatars.githubusercontent.com/u/21913?v=3","gravatar_id":"","url":"https://api.github.com/users/tuupola","html_url":"https://github.com/tuupola","followers_url":"https://api.github.com/users/tuupola/followers","following_url":"https://api.github.com/users/tuupola/following{/other_user}","gists_url":"https://api.github.com/users/tuupola/gists{/gist_id}","starred_url":"https://api.github.com/users/tuupola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuupola/subscriptions","organizations_url":"https://api.github.com/users/tuupola/orgs","repos_url":"https://api.github.com/users/tuupola/repos","events_url":"https://api.github.com/users/tuupola/events{/privacy}","received_events_url":"https://api.github.com/users/tuupola/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2014-09-12T12:57:38Z","updated_at":"2016-04-18T03:20:05Z","closed_at":null,"body":"Currently, selects are expected to be flat. There's no JSON syntax or code to handle [`<optgroup>` tags](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup).\r\n\r\nThe `label` attribute is mandatory so that should simplify the syntax.\r\n\r\nIn case it helps, here's a quick idea (probably absurd because I'm actually not very familiar with the plug-in):\r\n\r\n\t[\"\": \"None\"],\r\n\t[\r\n\t\t{\r\n\t\t\tAsia\": [\r\n\t\t\t\t[\"cn\",\"China\"],\r\n\t\t\t\t[\"jp\",\"Japan\"]\r\n\t\t\t],\r\n\t\t}\r\n\t],\r\n\t[\r\n\t\t{\r\n\t\t\t\"Europe\": [\r\n\t\t\t\t[\"fr\", \"France\"]\r\n\t\t\t\t[\"es\", \"Spain\"],\r\n\t\t\t],\r\n\t\t}\r\n\t],\r\n\t[\"zz\": \"Other\"],\r\n\t[\"--\": \"Don't know\"]\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tuupola/jquery_chained/issues/comments/211170491","html_url":"https://github.com/tuupola/jquery_chained/issues/35#issuecomment-211170491","issue_url":"https://api.github.com/repos/tuupola/jquery_chained/issues/35","id":211170491,"user":{"login":"federicodv","id":1380508,"avatar_url":"https://avatars.githubusercontent.com/u/1380508?v=3","gravatar_id":"","url":"https://api.github.com/users/federicodv","html_url":"https://github.com/federicodv","followers_url":"https://api.github.com/users/federicodv/followers","following_url":"https://api.github.com/users/federicodv/following{/other_user}","gists_url":"https://api.github.com/users/federicodv/gists{/gist_id}","starred_url":"https://api.github.com/users/federicodv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/federicodv/subscriptions","organizations_url":"https://api.github.com/users/federicodv/orgs","repos_url":"https://api.github.com/users/federicodv/repos","events_url":"https://api.github.com/users/federicodv/events{/privacy}","received_events_url":"https://api.github.com/users/federicodv/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T03:20:05Z","updated_at":"2016-04-18T03:20:05Z","body":"+1 !"}}