{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/7766","repository_url":"https://api.github.com/repos/callemall/material-ui","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/7766/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/7766/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/7766/events","html_url":"https://github.com/callemall/material-ui/issues/7766","id":250386539,"number":7766,"title":"RadioButtonGroups not triggering onChange events with React 15.6.1","user":{"login":"dvriezen","id":22944711,"avatar_url":"https://avatars1.githubusercontent.com/u/22944711?v=4","gravatar_id":"","url":"https://api.github.com/users/dvriezen","html_url":"https://github.com/dvriezen","followers_url":"https://api.github.com/users/dvriezen/followers","following_url":"https://api.github.com/users/dvriezen/following{/other_user}","gists_url":"https://api.github.com/users/dvriezen/gists{/gist_id}","starred_url":"https://api.github.com/users/dvriezen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvriezen/subscriptions","organizations_url":"https://api.github.com/users/dvriezen/orgs","repos_url":"https://api.github.com/users/dvriezen/repos","events_url":"https://api.github.com/users/dvriezen/events{/privacy}","received_events_url":"https://api.github.com/users/dvriezen/received_events","type":"User","site_admin":false},"labels":[{"id":667328154,"url":"https://api.github.com/repos/callemall/material-ui/labels/component:%20Radio","name":"component: Radio","color":"ffffff","default":false},{"id":683400341,"url":"https://api.github.com/repos/callemall/material-ui/labels/legacy","name":"legacy","color":"3dbfcf","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-15T17:48:13Z","updated_at":"2017-10-06T20:46:16Z","closed_at":null,"author_association":"NONE","body":"RadioButtonGroups are not triggering onChange events since updating to React 15.6.1. Both controlled and uncontrolled events don't trigger the event.\r\n\r\n````\r\nhandleUpdateMargin: (e, value) -> @setState margins: value\r\n\r\n<RadioButtonGroup className='buttons-margins' name='margin-button' onChange={@handleUpdateMargin}\r\n  defaultSelected={@state.margins}>\r\n  <RadioButton className='inch-button' value='inch' label='1\"' iconStyle={marginRight: '8px'}/>\r\n  <RadioButton className='half-button' value='half' label='0.5\"' iconStyle={marginRight: '8px'}/>\r\n  <RadioButton className='min-button' value='min' label='Minimal' iconStyle={marginRight: '8px'}/>\r\n</RadioButtonGroup>\r\n````\r\n\r\nThis was working on React 15.5.3 but not on 15.6.1\r\n\r\n- Material-UI: 0.19.0\r\n- React: 15.6.1\r\n- Browser: Chrome\r\n\r\n<!-- Have a QUESTION? Please ask in [StackOverflow or gitter](http://tr.im/77pVj before opening an issue.\r\n\r\nIf you are having an issue with click events, please re-read the [README](http://tr.im/410Fg) (you did read the README, right? :-) ).\r\n\r\nIf you think you have found a _new_ issue that hasn't already been reported or fixed in HEAD, please complete the template above.\r\n\r\nFor feature requests, please delete the template above and use this one instead:\r\n\r\n### Description\r\n### Images & references\r\n\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/334865694","html_url":"https://github.com/callemall/material-ui/issues/7766#issuecomment-334865694","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/7766","id":334865694,"user":{"login":"sneu012","id":31488180,"avatar_url":"https://avatars2.githubusercontent.com/u/31488180?v=4","gravatar_id":"","url":"https://api.github.com/users/sneu012","html_url":"https://github.com/sneu012","followers_url":"https://api.github.com/users/sneu012/followers","following_url":"https://api.github.com/users/sneu012/following{/other_user}","gists_url":"https://api.github.com/users/sneu012/gists{/gist_id}","starred_url":"https://api.github.com/users/sneu012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sneu012/subscriptions","organizations_url":"https://api.github.com/users/sneu012/orgs","repos_url":"https://api.github.com/users/sneu012/repos","events_url":"https://api.github.com/users/sneu012/events{/privacy}","received_events_url":"https://api.github.com/users/sneu012/received_events","type":"User","site_admin":false},"created_at":"2017-10-06T20:46:16Z","updated_at":"2017-10-06T20:46:16Z","author_association":"NONE","body":"onChange did not work for me too. Had to use onClick, as @dvriezen suggested.\r\n` <Radio\r\n      checked = {this.state.value === option}\r\n      onClick= {this.handleChange}\r\n      {...input}\r\n      value={option}\r\n />`\r\n\r\nUsing material-ui-next with redux-form. \r\nCould not find onClick in the API for [Radio](https://material-ui-1dab0.firebaseapp.com/api/radio/)\r\n\r\n"}}
{"actor":{"display_login":"sneu012"}}