{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form-material-ui/issues/70","repository_url":"https://api.github.com/repos/erikras/redux-form-material-ui","labels_url":"https://api.github.com/repos/erikras/redux-form-material-ui/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form-material-ui/issues/70/comments","events_url":"https://api.github.com/repos/erikras/redux-form-material-ui/issues/70/events","html_url":"https://github.com/erikras/redux-form-material-ui/issues/70","id":192725822,"number":70,"title":"DatePicker: onChange prop on Field not firing","user":{"login":"eL-HaXo","id":5600892,"avatar_url":"https://avatars.githubusercontent.com/u/5600892?v=3","gravatar_id":"","url":"https://api.github.com/users/eL-HaXo","html_url":"https://github.com/eL-HaXo","followers_url":"https://api.github.com/users/eL-HaXo/followers","following_url":"https://api.github.com/users/eL-HaXo/following{/other_user}","gists_url":"https://api.github.com/users/eL-HaXo/gists{/gist_id}","starred_url":"https://api.github.com/users/eL-HaXo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eL-HaXo/subscriptions","organizations_url":"https://api.github.com/users/eL-HaXo/orgs","repos_url":"https://api.github.com/users/eL-HaXo/repos","events_url":"https://api.github.com/users/eL-HaXo/events{/privacy}","received_events_url":"https://api.github.com/users/eL-HaXo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-01T00:55:42Z","updated_at":"2016-12-23T15:50:00Z","closed_at":null,"body":"I cannot get the onChange function on the Field Component to fire.\r\n\r\nExample component:\r\n\r\n```\r\nimport React from 'react';\r\nimport { Field } from 'redux-form';\r\nimport {DatePicker} from 'redux-form-material-ui';\r\n\r\nclass DatepickerInput extends React.Component{\r\n    constructor() {\r\n      super();\r\n      this._handleChange = this._handleChange.bind(this);\r\n    }\r\n\r\n    _handleChange(e, v) {\r\n      console.log('Handle datepicker change');\r\n    }\r\n\r\n    render() {\r\n      return (\r\n        <Field component={DatePicker}\r\n          name={this.props.name}\r\n          onChange={this._handleChange}\r\n          format={(v) => ((v !== '') ?  v : null)}\r\n        />\r\n      );\r\n    }\r\n};\r\nexport default DatepickerInput;\r\n```"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form-material-ui/issues/comments/269008432","html_url":"https://github.com/erikras/redux-form-material-ui/issues/70#issuecomment-269008432","issue_url":"https://api.github.com/repos/erikras/redux-form-material-ui/issues/70","id":269008432,"user":{"login":"kvoth3","id":5633757,"avatar_url":"https://avatars.githubusercontent.com/u/5633757?v=3","gravatar_id":"","url":"https://api.github.com/users/kvoth3","html_url":"https://github.com/kvoth3","followers_url":"https://api.github.com/users/kvoth3/followers","following_url":"https://api.github.com/users/kvoth3/following{/other_user}","gists_url":"https://api.github.com/users/kvoth3/gists{/gist_id}","starred_url":"https://api.github.com/users/kvoth3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvoth3/subscriptions","organizations_url":"https://api.github.com/users/kvoth3/orgs","repos_url":"https://api.github.com/users/kvoth3/repos","events_url":"https://api.github.com/users/kvoth3/events{/privacy}","received_events_url":"https://api.github.com/users/kvoth3/received_events","type":"User","site_admin":false},"created_at":"2016-12-23T15:50:00Z","updated_at":"2016-12-23T15:50:00Z","body":"did you find a workaround for this? im having the same issue."}}
{"actor":{"display_login":"kvoth3"}}