{"action":"created","issue":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/12699","repository_url":"https://api.github.com/repos/ant-design/ant-design","labels_url":"https://api.github.com/repos/ant-design/ant-design/issues/12699/labels{/name}","comments_url":"https://api.github.com/repos/ant-design/ant-design/issues/12699/comments","events_url":"https://api.github.com/repos/ant-design/ant-design/issues/12699/events","html_url":"https://github.com/ant-design/ant-design/issues/12699","id":371269311,"node_id":"MDU6SXNzdWUzNzEyNjkzMTE=","number":12699,"title":"ant mention initialized value","user":{"login":"NoureldeanSaed","id":28482442,"node_id":"MDQ6VXNlcjI4NDgyNDQy","avatar_url":"https://avatars0.githubusercontent.com/u/28482442?v=4","gravatar_id":"","url":"https://api.github.com/users/NoureldeanSaed","html_url":"https://github.com/NoureldeanSaed","followers_url":"https://api.github.com/users/NoureldeanSaed/followers","following_url":"https://api.github.com/users/NoureldeanSaed/following{/other_user}","gists_url":"https://api.github.com/users/NoureldeanSaed/gists{/gist_id}","starred_url":"https://api.github.com/users/NoureldeanSaed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoureldeanSaed/subscriptions","organizations_url":"https://api.github.com/users/NoureldeanSaed/orgs","repos_url":"https://api.github.com/users/NoureldeanSaed/repos","events_url":"https://api.github.com/users/NoureldeanSaed/events{/privacy}","received_events_url":"https://api.github.com/users/NoureldeanSaed/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"yutingzhao1991","id":1061968,"node_id":"MDQ6VXNlcjEwNjE5Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/1061968?v=4","gravatar_id":"","url":"https://api.github.com/users/yutingzhao1991","html_url":"https://github.com/yutingzhao1991","followers_url":"https://api.github.com/users/yutingzhao1991/followers","following_url":"https://api.github.com/users/yutingzhao1991/following{/other_user}","gists_url":"https://api.github.com/users/yutingzhao1991/gists{/gist_id}","starred_url":"https://api.github.com/users/yutingzhao1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yutingzhao1991/subscriptions","organizations_url":"https://api.github.com/users/yutingzhao1991/orgs","repos_url":"https://api.github.com/users/yutingzhao1991/repos","events_url":"https://api.github.com/users/yutingzhao1991/events{/privacy}","received_events_url":"https://api.github.com/users/yutingzhao1991/received_events","type":"User","site_admin":false},"assignees":[{"login":"yutingzhao1991","id":1061968,"node_id":"MDQ6VXNlcjEwNjE5Njg=","avatar_url":"https://avatars0.githubusercontent.com/u/1061968?v=4","gravatar_id":"","url":"https://api.github.com/users/yutingzhao1991","html_url":"https://github.com/yutingzhao1991","followers_url":"https://api.github.com/users/yutingzhao1991/followers","following_url":"https://api.github.com/users/yutingzhao1991/following{/other_user}","gists_url":"https://api.github.com/users/yutingzhao1991/gists{/gist_id}","starred_url":"https://api.github.com/users/yutingzhao1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yutingzhao1991/subscriptions","organizations_url":"https://api.github.com/users/yutingzhao1991/orgs","repos_url":"https://api.github.com/users/yutingzhao1991/repos","events_url":"https://api.github.com/users/yutingzhao1991/events{/privacy}","received_events_url":"https://api.github.com/users/yutingzhao1991/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-17T21:13:24Z","updated_at":"2018-10-28T02:41:24Z","closed_at":"2018-10-27T14:11:56Z","author_association":"NONE","body":"- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.\r\n\r\n### Version\r\n3.10.1\r\n\r\n### Environment\r\nUbuntu 18.04 64bit, Chrome 69, React 16.4\r\n\r\n### Reproduction link\r\n[![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/m7n7194pmx)\r\n\r\n### Steps to reproduce\r\nJust create some new contentState and give it to the mention component. It doesn't accept the value until it has been interacted with. In the codesandbox snippet, just click the mention, it only then will add the value that has been set to initial.\r\n\r\n### What is expected?\r\nThat the mention component accepts the text whenever the value has changed or initialized.\r\n\r\n### What is actually happening?\r\nThe components accepts only direct change, while it cannot be changed by passing some acceptable value from outside the component.\r\n\r\n\r\n<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/ant-design/ant-design/issues/comments/433671493","html_url":"https://github.com/ant-design/ant-design/issues/12699#issuecomment-433671493","issue_url":"https://api.github.com/repos/ant-design/ant-design/issues/12699","id":433671493,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzY3MTQ5Mw==","user":{"login":"zombieJ","id":5378891,"node_id":"MDQ6VXNlcjUzNzg4OTE=","avatar_url":"https://avatars1.githubusercontent.com/u/5378891?v=4","gravatar_id":"","url":"https://api.github.com/users/zombieJ","html_url":"https://github.com/zombieJ","followers_url":"https://api.github.com/users/zombieJ/followers","following_url":"https://api.github.com/users/zombieJ/following{/other_user}","gists_url":"https://api.github.com/users/zombieJ/gists{/gist_id}","starred_url":"https://api.github.com/users/zombieJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zombieJ/subscriptions","organizations_url":"https://api.github.com/users/zombieJ/orgs","repos_url":"https://api.github.com/users/zombieJ/repos","events_url":"https://api.github.com/users/zombieJ/events{/privacy}","received_events_url":"https://api.github.com/users/zombieJ/received_events","type":"User","site_admin":false},"created_at":"2018-10-28T02:41:24Z","updated_at":"2018-10-28T02:41:24Z","author_association":"MEMBER","body":"Remove `node_modules` and reinstall: https://codesandbox.io/s/zkmzpl2l63"}}
{"actor":{"display_login":"zombieJ"}}