{"action":"created","issue":{"url":"https://api.github.com/repos/insin/newforms/issues/68","labels_url":"https://api.github.com/repos/insin/newforms/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/insin/newforms/issues/68/comments","events_url":"https://api.github.com/repos/insin/newforms/issues/68/events","html_url":"https://github.com/insin/newforms/issues/68","id":60376987,"number":68,"title":"Using field choices raises React warning (unique key missing)","user":{"login":"Ismael","id":120270,"avatar_url":"https://avatars.githubusercontent.com/u/120270?v=3","gravatar_id":"","url":"https://api.github.com/users/Ismael","html_url":"https://github.com/Ismael","followers_url":"https://api.github.com/users/Ismael/followers","following_url":"https://api.github.com/users/Ismael/following{/other_user}","gists_url":"https://api.github.com/users/Ismael/gists{/gist_id}","starred_url":"https://api.github.com/users/Ismael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ismael/subscriptions","organizations_url":"https://api.github.com/users/Ismael/orgs","repos_url":"https://api.github.com/users/Ismael/repos","events_url":"https://api.github.com/users/Ismael/events{/privacy}","received_events_url":"https://api.github.com/users/Ismael/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-09T17:12:00Z","updated_at":"2015-03-09T17:46:34Z","closed_at":null,"body":"The following code produces this warning: \"Each child in an array should have a unique \"key\" prop. Check the render method of FormRow. See http://fb.me/react-warning-keys for more information.\"\r\n\r\n```javascript\r\nvar React = require(\"react\");\r\nvar forms = require(\"newforms\");\r\nvar IPIN = forms.Form.extend({\r\n    device: forms.ChoiceField({choices: [\"eth0\", \"eth1\"]}),\r\n});\r\nvar IPINform = new IPIN();\r\n\r\nvar Thing = React.createClass({\r\n  getInitialState: function(){\r\n    return {form: IPINform};\r\n  },\r\n  render: function(){\r\n    return (\r\n            <form>\r\n                <forms.RenderForm form={this.state.form} ref=\"ipin\" />\r\n                <button>submit</button>\r\n            </form>\r\n        );\r\n  }\r\n});\r\nvar r = React.render(<Thing/>, document.body);\r\n```"},"comment":{"url":"https://api.github.com/repos/insin/newforms/issues/comments/77904867","html_url":"https://github.com/insin/newforms/issues/68#issuecomment-77904867","issue_url":"https://api.github.com/repos/insin/newforms/issues/68","id":77904867,"user":{"login":"insin","id":226692,"avatar_url":"https://avatars.githubusercontent.com/u/226692?v=3","gravatar_id":"","url":"https://api.github.com/users/insin","html_url":"https://github.com/insin","followers_url":"https://api.github.com/users/insin/followers","following_url":"https://api.github.com/users/insin/following{/other_user}","gists_url":"https://api.github.com/users/insin/gists{/gist_id}","starred_url":"https://api.github.com/users/insin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/insin/subscriptions","organizations_url":"https://api.github.com/users/insin/orgs","repos_url":"https://api.github.com/users/insin/repos","events_url":"https://api.github.com/users/insin/events{/privacy}","received_events_url":"https://api.github.com/users/insin/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T17:46:33Z","updated_at":"2015-03-09T17:46:33Z","body":"Must be the `<option>`s, should be easy to fix."}}