{"action":"created","issue":{"url":"https://api.github.com/repos/ElemeFE/element/issues/4432","repository_url":"https://api.github.com/repos/ElemeFE/element","labels_url":"https://api.github.com/repos/ElemeFE/element/issues/4432/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/element/issues/4432/comments","events_url":"https://api.github.com/repos/ElemeFE/element/issues/4432/events","html_url":"https://github.com/ElemeFE/element/issues/4432","id":224009554,"number":4432,"title":"[Feature Request] wants MessageBox to open type properties in the input box.","user":{"login":"qianqWang","id":21270978,"avatar_url":"https://avatars2.githubusercontent.com/u/21270978?v=3","gravatar_id":"","url":"https://api.github.com/users/qianqWang","html_url":"https://github.com/qianqWang","followers_url":"https://api.github.com/users/qianqWang/followers","following_url":"https://api.github.com/users/qianqWang/following{/other_user}","gists_url":"https://api.github.com/users/qianqWang/gists{/gist_id}","starred_url":"https://api.github.com/users/qianqWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qianqWang/subscriptions","organizations_url":"https://api.github.com/users/qianqWang/orgs","repos_url":"https://api.github.com/users/qianqWang/repos","events_url":"https://api.github.com/users/qianqWang/events{/privacy}","received_events_url":"https://api.github.com/users/qianqWang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-25T03:22:44Z","updated_at":"2017-04-25T03:36:39Z","closed_at":"2017-04-25T03:27:51Z","body":"<!-- generated by https://eleme-issue.surge.sh DO NOT REMOVE -->\r\n\r\n### Existing Component\r\n是\r\n\r\n### Component Name\r\nMessageBox\r\n\r\n### Description\r\n实际项目中，用MessageBox实现输入密码登录的时候，因为没有开放type=password的input。所以导致密码明文了。希望开放修改input的type的属性。\r\n\r\n<!-- generated by https://eleme-issue.surge.sh DO NOT REMOVE -->\r\n"},"comment":{"url":"https://api.github.com/repos/ElemeFE/element/issues/comments/296888677","html_url":"https://github.com/ElemeFE/element/issues/4432#issuecomment-296888677","issue_url":"https://api.github.com/repos/ElemeFE/element/issues/4432","id":296888677,"user":{"login":"qianqWang","id":21270978,"avatar_url":"https://avatars2.githubusercontent.com/u/21270978?v=3","gravatar_id":"","url":"https://api.github.com/users/qianqWang","html_url":"https://github.com/qianqWang","followers_url":"https://api.github.com/users/qianqWang/followers","following_url":"https://api.github.com/users/qianqWang/following{/other_user}","gists_url":"https://api.github.com/users/qianqWang/gists{/gist_id}","starred_url":"https://api.github.com/users/qianqWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qianqWang/subscriptions","organizations_url":"https://api.github.com/users/qianqWang/orgs","repos_url":"https://api.github.com/users/qianqWang/repos","events_url":"https://api.github.com/users/qianqWang/events{/privacy}","received_events_url":"https://api.github.com/users/qianqWang/received_events","type":"User","site_admin":false},"created_at":"2017-04-25T03:36:39Z","updated_at":"2017-04-25T03:36:39Z","body":"太随意了吧。。。这个难道不应该公示得到多数人的认可再关闭吗？怎么说关闭就关闭。这个功能很实用啊。我想简单的对input进行password或者number的切换，需要：\nlet message = document.getElementsByClassName('loginMessage')\nmessage[0].childNodes[1].childNodes[2].childNodes[0].childNodes[2].attributes[0].value = 'password'\n这种改变type的方法不合理吧！\n原始邮件\n发件人:杨奕notifications@github.com\n收件人:ElemeFE/elementelement@noreply.github.com\n抄送:Connieqwangqianq_web@foxmail.com; Authorauthor@noreply.github.com\n发送时间:2017年4月25日(周二) 11:28\n主题:Re: [ElemeFE/element] [Feature Request] wants MessageBox to open typeproperties in the input box. (#4432)\n\n\nClosed #4432.\n—\nYou are receiving this because you authored the thread.\nReply to this email directly, view it on GitHub, or mute the thread."}}
{"actor":{"display_login":"qianqWang"}}