{"action":"created","issue":{"url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/162","repository_url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input","labels_url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/162/comments","events_url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/162/events","html_url":"https://github.com/TeamWertarbyte/material-ui-chip-input/issues/162","id":271673480,"number":162,"title":"Controlled chips calling onChange instead of onRequestAdd and onRequestDelete","user":{"login":"liutongchen","id":19363363,"avatar_url":"https://avatars0.githubusercontent.com/u/19363363?v=4","gravatar_id":"","url":"https://api.github.com/users/liutongchen","html_url":"https://github.com/liutongchen","followers_url":"https://api.github.com/users/liutongchen/followers","following_url":"https://api.github.com/users/liutongchen/following{/other_user}","gists_url":"https://api.github.com/users/liutongchen/gists{/gist_id}","starred_url":"https://api.github.com/users/liutongchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liutongchen/subscriptions","organizations_url":"https://api.github.com/users/liutongchen/orgs","repos_url":"https://api.github.com/users/liutongchen/repos","events_url":"https://api.github.com/users/liutongchen/events{/privacy}","received_events_url":"https://api.github.com/users/liutongchen/received_events","type":"User","site_admin":false},"labels":[{"id":438408702,"url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-07T00:54:02Z","updated_at":"2017-11-07T19:31:37Z","closed_at":"2017-11-07T18:33:20Z","author_association":"NONE","body":"I am using `ChipInput` as a controlled component and according to the document, if I use it as controlled components, adding and deleting a chip will call `onRequestAdd` and `onRequestDelete` \r\nif I understand correctly. But output of the following code indicates that `onChange` is called instead of `onRequestAdd` and `onRequestDelete` even when `ChipInput` has an attribute `value`.\r\n\r\nI'm wondering whether it's because of the code I write that causes this problem? \r\n\r\n<img width=\"595\" alt=\"create_farm_dialog_js_-_ecoation-code_-____documents_ecoation_ecoation-code_\" src=\"https://user-images.githubusercontent.com/19363363/32471354-a9fa50fc-c311-11e7-8b2d-4f5a6bac3156.png\">\r\n\r\nVersions:\r\n\"material-ui\": \"latest\",\r\n\"material-ui-chip-input\": \"^0.18.2\""},"comment":{"url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/comments/342595600","html_url":"https://github.com/TeamWertarbyte/material-ui-chip-input/issues/162#issuecomment-342595600","issue_url":"https://api.github.com/repos/TeamWertarbyte/material-ui-chip-input/issues/162","id":342595600,"user":{"login":"leMaik","id":5544859,"avatar_url":"https://avatars2.githubusercontent.com/u/5544859?v=4","gravatar_id":"","url":"https://api.github.com/users/leMaik","html_url":"https://github.com/leMaik","followers_url":"https://api.github.com/users/leMaik/followers","following_url":"https://api.github.com/users/leMaik/following{/other_user}","gists_url":"https://api.github.com/users/leMaik/gists{/gist_id}","starred_url":"https://api.github.com/users/leMaik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leMaik/subscriptions","organizations_url":"https://api.github.com/users/leMaik/orgs","repos_url":"https://api.github.com/users/leMaik/repos","events_url":"https://api.github.com/users/leMaik/events{/privacy}","received_events_url":"https://api.github.com/users/leMaik/received_events","type":"User","site_admin":false},"created_at":"2017-11-07T19:31:36Z","updated_at":"2017-11-07T19:31:36Z","author_association":"OWNER","body":"Allright, feel free to open a new issue if you have more questions. :+1: "}}
{"actor":{"display_login":"leMaik"}}