{"action":"created","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/918","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/918/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/918/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/918/events","html_url":"https://github.com/erikras/redux-form/issues/918","id":153485079,"number":918,"title":"v6 Is there a bug with initialValues not resetting?","user":{"login":"darylhedley","id":3483708,"avatar_url":"https://avatars.githubusercontent.com/u/3483708?v=3","gravatar_id":"","url":"https://api.github.com/users/darylhedley","html_url":"https://github.com/darylhedley","followers_url":"https://api.github.com/users/darylhedley/followers","following_url":"https://api.github.com/users/darylhedley/following{/other_user}","gists_url":"https://api.github.com/users/darylhedley/gists{/gist_id}","starred_url":"https://api.github.com/users/darylhedley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darylhedley/subscriptions","organizations_url":"https://api.github.com/users/darylhedley/orgs","repos_url":"https://api.github.com/users/darylhedley/repos","events_url":"https://api.github.com/users/darylhedley/events{/privacy}","received_events_url":"https://api.github.com/users/darylhedley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/erikras/redux-form/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/erikras/redux-form/milestones/1","html_url":"https://github.com/erikras/redux-form/milestones/next-6.0.0","labels_url":"https://api.github.com/repos/erikras/redux-form/milestones/1/labels","id":1736711,"number":1,"title":"next-6.0.0","description":"","creator":{"login":"ooflorent","id":168498,"avatar_url":"https://avatars.githubusercontent.com/u/168498?v=3","gravatar_id":"","url":"https://api.github.com/users/ooflorent","html_url":"https://github.com/ooflorent","followers_url":"https://api.github.com/users/ooflorent/followers","following_url":"https://api.github.com/users/ooflorent/following{/other_user}","gists_url":"https://api.github.com/users/ooflorent/gists{/gist_id}","starred_url":"https://api.github.com/users/ooflorent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ooflorent/subscriptions","organizations_url":"https://api.github.com/users/ooflorent/orgs","repos_url":"https://api.github.com/users/ooflorent/repos","events_url":"https://api.github.com/users/ooflorent/events{/privacy}","received_events_url":"https://api.github.com/users/ooflorent/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":15,"state":"open","created_at":"2016-04-28T15:08:08Z","updated_at":"2016-05-08T13:39:46Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-05-06T16:08:32Z","updated_at":"2016-05-09T02:23:04Z","closed_at":null,"body":"I create a reduxForm with initialValues set as a model retrieved from the server (editing user 1). This works great the first time, however if I then click to edit the second user the first users data is still there even though initialValues is set to the new user model. Has anyone experienced this?\r\n\r\nI've been through my props and changed that the new user model is being passed down, which it is until I call reduxForm()"},"comment":{"url":"https://api.github.com/repos/erikras/redux-form/issues/comments/217763546","html_url":"https://github.com/erikras/redux-form/issues/918#issuecomment-217763546","issue_url":"https://api.github.com/repos/erikras/redux-form/issues/918","id":217763546,"user":{"login":"simonkoener66","id":16448306,"avatar_url":"https://avatars.githubusercontent.com/u/16448306?v=3","gravatar_id":"","url":"https://api.github.com/users/simonkoener66","html_url":"https://github.com/simonkoener66","followers_url":"https://api.github.com/users/simonkoener66/followers","following_url":"https://api.github.com/users/simonkoener66/following{/other_user}","gists_url":"https://api.github.com/users/simonkoener66/gists{/gist_id}","starred_url":"https://api.github.com/users/simonkoener66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonkoener66/subscriptions","organizations_url":"https://api.github.com/users/simonkoener66/orgs","repos_url":"https://api.github.com/users/simonkoener66/repos","events_url":"https://api.github.com/users/simonkoener66/events{/privacy}","received_events_url":"https://api.github.com/users/simonkoener66/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T02:23:04Z","updated_at":"2016-05-09T02:23:04Z","body":"I've also experienced this. For example:\r\nin page1.js\r\n`render() {\r\n    ...........\r\n    <MyForm initialValues={values1}/>\r\n    ...........\r\n}`\r\nand in page2.js\r\n`render() {\r\n    ...........\r\n    <MyForm initialValues={values2}/>\r\n    ...........\r\n}`\r\nIf user navigates to page2 after page1, MyForm has values from value1 that is set in page1 ignoring initialValues in page2."}}