{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/582","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/582/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/582/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/582/events","html_url":"https://github.com/erikras/redux-form/issues/582","id":128169285,"node_id":"MDU6SXNzdWUxMjgxNjkyODU=","number":582,"title":"All inputs resets after focusing on any input","user":{"login":"stepankuzmin","id":533564,"node_id":"MDQ6VXNlcjUzMzU2NA==","avatar_url":"https://avatars3.githubusercontent.com/u/533564?v=4","gravatar_id":"","url":"https://api.github.com/users/stepankuzmin","html_url":"https://github.com/stepankuzmin","followers_url":"https://api.github.com/users/stepankuzmin/followers","following_url":"https://api.github.com/users/stepankuzmin/following{/other_user}","gists_url":"https://api.github.com/users/stepankuzmin/gists{/gist_id}","starred_url":"https://api.github.com/users/stepankuzmin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stepankuzmin/subscriptions","organizations_url":"https://api.github.com/users/stepankuzmin/orgs","repos_url":"https://api.github.com/users/stepankuzmin/repos","events_url":"https://api.github.com/users/stepankuzmin/events{/privacy}","received_events_url":"https://api.github.com/users/stepankuzmin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-01-22T14:41:00Z","updated_at":"2018-06-03T09:38:21Z","closed_at":"2016-01-25T09:50:14Z","author_association":"NONE","body":"Example: after I fill first input and focus on second input previous input resets\n\n![123](https://cloud.githubusercontent.com/assets/533564/12513434/914e1082-c13f-11e5-9854-02401a4f2a10.gif)\n\nMy form looks like this:\n\n``` js\nimport styles from './login.styl'\nimport { reduxForm } from 'redux-form'\n\nclass Login extends React.Component {\n  static propTypes = {\n    fields: React.PropTypes.object.isRequired,\n    handleSubmit: React.PropTypes.func.isRequired,\n    errorMessage: React.PropTypes.string\n  };\n\n  render() {\n    const { errorMessage } = this.props\n    const { fields: { email, password }, handleSubmit } = this.props\n\n    return (\n      <div className={styles.container}>\n        <form onSubmit={handleSubmit}>\n          <input type='text' placeholder='Email' {...email}/>\n          <input type='password' placeholder='Password' {...password} />\n          <br /><br />\n          <button onClick={handleSubmit}>\n            Login\n          </button>\n        </form>\n      { errorMessage && <p className={ styles.errorMessage }>{ errorMessage }</p> }\n      </div>\n    )\n  }\n}\n\nexport default reduxForm({\n  form: 'login',\n  fields: ['email', 'password'],\n  getFormState: (state, reduxMountPoint) => state.get(reduxMountPoint).toJS()\n})(Login)\n```\n\n**P.S** I'm using immutable state\n\n``` js\nconst rootReducer = combineReducers({\n  form: (state, action) => Immutable.fromJS(formReducer(state, action))\n})\n```\n\nand `babel@6.x`\n"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/394149619","html_url":"https://github.com/erikras/redux-form/issues/582#issuecomment-394149619","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/582","id":394149619,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDE0OTYxOQ==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-06-03T09:38:21Z","updated_at":"2018-06-03T09:38:21Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.\n"}}
{"actor":{"display_login":"lock"}}