{"action":"opened","issue":{"url":"https://api.github.com/repos/ElemeFE/element/issues/13136","repository_url":"https://api.github.com/repos/ElemeFE/element","labels_url":"https://api.github.com/repos/ElemeFE/element/issues/13136/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/element/issues/13136/comments","events_url":"https://api.github.com/repos/ElemeFE/element/issues/13136/events","html_url":"https://github.com/ElemeFE/element/issues/13136","id":372942865,"node_id":"MDU6SXNzdWUzNzI5NDI4NjU=","number":13136,"title":"[Feature Request] Switch vs Radio trigger keys consistency","user":{"login":"atilkan","id":1254613,"node_id":"MDQ6VXNlcjEyNTQ2MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/1254613?v=4","gravatar_id":"","url":"https://api.github.com/users/atilkan","html_url":"https://github.com/atilkan","followers_url":"https://api.github.com/users/atilkan/followers","following_url":"https://api.github.com/users/atilkan/following{/other_user}","gists_url":"https://api.github.com/users/atilkan/gists{/gist_id}","starred_url":"https://api.github.com/users/atilkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atilkan/subscriptions","organizations_url":"https://api.github.com/users/atilkan/orgs","repos_url":"https://api.github.com/users/atilkan/repos","events_url":"https://api.github.com/users/atilkan/events{/privacy}","received_events_url":"https://api.github.com/users/atilkan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-23T11:09:38Z","updated_at":"2018-10-23T11:09:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"<!-- generated by https://eleme-issue.surge.sh DO NOT REMOVE -->\r\n\r\n### Existing Component\r\nYes\r\n\r\n### Component Name\r\nSwitch, Radio\r\n\r\n### Description\r\nSwitch input trigger with **enter key** -> https://github.com/ElemeFE/element/blob/31d31d904ddaf267951af63f9a537f07cd1dbfdb/packages/switch/src/component.vue#L20\r\nRadio input triggers with **space key** -> https://github.com/ElemeFE/element/blob/31d31d904ddaf267951af63f9a537f07cd1dbfdb/packages/radio/src/radio.vue#L15\r\n\r\nI think both should be space key. Reason is enter triggers form submit.\r\n<!-- generated by https://eleme-issue.surge.sh DO NOT REMOVE -->\r\n"}}
{"actor":{"display_login":"atilkan"}}