{"action":"closed","issue":{"url":"https://api.github.com/repos/erikras/redux-form/issues/1678","repository_url":"https://api.github.com/repos/erikras/redux-form","labels_url":"https://api.github.com/repos/erikras/redux-form/issues/1678/labels{/name}","comments_url":"https://api.github.com/repos/erikras/redux-form/issues/1678/comments","events_url":"https://api.github.com/repos/erikras/redux-form/issues/1678/events","html_url":"https://github.com/erikras/redux-form/issues/1678","id":174566805,"number":1678,"title":"\"redux-form/CHANGE\" action sets Material-UI TextField value as [object Object]","user":{"login":"PharaohMaster","id":4235883,"avatar_url":"https://avatars.githubusercontent.com/u/4235883?v=3","gravatar_id":"","url":"https://api.github.com/users/PharaohMaster","html_url":"https://github.com/PharaohMaster","followers_url":"https://api.github.com/users/PharaohMaster/followers","following_url":"https://api.github.com/users/PharaohMaster/following{/other_user}","gists_url":"https://api.github.com/users/PharaohMaster/gists{/gist_id}","starred_url":"https://api.github.com/users/PharaohMaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PharaohMaster/subscriptions","organizations_url":"https://api.github.com/users/PharaohMaster/orgs","repos_url":"https://api.github.com/users/PharaohMaster/repos","events_url":"https://api.github.com/users/PharaohMaster/events{/privacy}","received_events_url":"https://api.github.com/users/PharaohMaster/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-01T16:20:47Z","updated_at":"2016-09-02T14:34:10Z","closed_at":"2016-09-02T14:34:10Z","body":"I'm using completely exact example code for Material-UI.\r\nhttps://github.com/erikras/redux-form/blob/v6.0.1/examples/material-ui/src/MaterialUiForm.js\r\nI've tested it with `\"material-ui\": \"0.15.3\"` and `\"material-ui\": \"0.15.4\"`.\r\n\r\nProblem occurs when I try to write some text and then completely delete it from input field. When last character is deleted from the field, the field gains new value of `[object Object]`.\r\nI'm inspecting Redux DevTools and this last action is leading to unexpected behaviour.\r\n\r\n`type:\"redux-form/CHANGE\",\r\nmeta: {\r\n  form:\"MaterialUiForm\"\r\n  field:\"firstName\"\r\n  touch:true\r\n},\r\npayload:{\r\n  filter: \"\"\r\n}`\r\n\r\nLooking a little bit at material-ui `TextField` it is expecting only string as a value but payload is not string but `{filter: \"\"}` object and that is why value is set as `[object Object]`.\r\n"}}
{"actor":{"display_login":"PharaohMaster"}}