{"action":"created","issue":{"url":"https://api.github.com/repos/elementalui/elemental/issues/178","repository_url":"https://api.github.com/repos/elementalui/elemental","labels_url":"https://api.github.com/repos/elementalui/elemental/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/elementalui/elemental/issues/178/comments","events_url":"https://api.github.com/repos/elementalui/elemental/issues/178/events","html_url":"https://github.com/elementalui/elemental/pull/178","id":176174961,"number":178,"title":"Add 'disabled' prop to options for FormSelect","user":{"login":"kuy","id":151614,"avatar_url":"https://avatars.githubusercontent.com/u/151614?v=3","gravatar_id":"","url":"https://api.github.com/users/kuy","html_url":"https://github.com/kuy","followers_url":"https://api.github.com/users/kuy/followers","following_url":"https://api.github.com/users/kuy/following{/other_user}","gists_url":"https://api.github.com/users/kuy/gists{/gist_id}","starred_url":"https://api.github.com/users/kuy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuy/subscriptions","organizations_url":"https://api.github.com/users/kuy/orgs","repos_url":"https://api.github.com/users/kuy/repos","events_url":"https://api.github.com/users/kuy/events{/privacy}","received_events_url":"https://api.github.com/users/kuy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-10T11:25:10Z","updated_at":"2016-09-11T23:46:23Z","closed_at":"2016-09-11T23:46:14Z","pull_request":{"url":"https://api.github.com/repos/elementalui/elemental/pulls/178","html_url":"https://github.com/elementalui/elemental/pull/178","diff_url":"https://github.com/elementalui/elemental/pull/178.diff","patch_url":"https://github.com/elementalui/elemental/pull/178.patch"},"body":"This fix adds `disabled` prop to options of `<FormSelect>` component, which is mentioned in #177 .\r\nI didn't include updates for the documentation. Because I feel that the example code of `<FormSelect>` is not enough to me. It doesn't show a shape of `options` prop.\r\n\r\n```\r\n<FormSelect options={[...]} firstOption=\"Select\" onChange={this.handleSelect} />\r\n```\r\n\r\nHow about following example code? It's somewhat ugly but I have no idea to show this.\r\nPlease let me know your comment 😃 \r\n\r\n```\r\nconst controlOptions = [\r\n\t{ label: 'Caramel',    value: 'caramel' },\r\n\t{ label: 'Chocolate',  value: 'chocolate' },\r\n\t{ label: 'Strawberry', value: 'strawberry' },\r\n\t{ label: 'Vanilla',    value: 'vanilla', disabled: true }\r\n];\r\n\r\n// ...\r\n\r\n<FormSelect options={controlOptions} firstOption=\"Select\" onChange={this.handleSelect} />\r\n```"},"comment":{"url":"https://api.github.com/repos/elementalui/elemental/issues/comments/246212900","html_url":"https://github.com/elementalui/elemental/pull/178#issuecomment-246212900","issue_url":"https://api.github.com/repos/elementalui/elemental/issues/178","id":246212900,"user":{"login":"jossmac","id":2730833,"avatar_url":"https://avatars.githubusercontent.com/u/2730833?v=3","gravatar_id":"","url":"https://api.github.com/users/jossmac","html_url":"https://github.com/jossmac","followers_url":"https://api.github.com/users/jossmac/followers","following_url":"https://api.github.com/users/jossmac/following{/other_user}","gists_url":"https://api.github.com/users/jossmac/gists{/gist_id}","starred_url":"https://api.github.com/users/jossmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jossmac/subscriptions","organizations_url":"https://api.github.com/users/jossmac/orgs","repos_url":"https://api.github.com/users/jossmac/repos","events_url":"https://api.github.com/users/jossmac/events{/privacy}","received_events_url":"https://api.github.com/users/jossmac/received_events","type":"User","site_admin":false},"created_at":"2016-09-11T23:46:23Z","updated_at":"2016-09-11T23:46:23Z","body":"Thanks @kuy!"}}
{"actor":{"display_login":"jossmac"}}