-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] wants MessageBox to open type properties in the input box. #4432
Comments
为了让更多的人能够理解你的问题,同时给遇到相同问题的人提供更好的参考,请尽量使用英语提交你的 issue。相关信息:#4396。 |
element-bot
changed the title
[Feature Request] 希望MessageBox弹框中的input开放type属性。
[Feature Request] wants MessageBox to open type properties in the input box.
Apr 25, 2017
Translation of this issue: Existing Componentyes Component NameMessageBox DescriptionThe actual project, using MessageBox to enter the password to log in, because there is no open type=password input. So the password is clear. Want to open the properties of the modified input type. |
We'd like to keep MessageBox simple. So for this scenario, you need to manipulate DOM directly. |
太随意了吧。。。这个难道不应该公示得到多数人的认可再关闭吗?怎么说关闭就关闭。这个功能很实用啊。我想简单的对input进行password或者number的切换,需要:
let message = document.getElementsByClassName('loginMessage')
message[0].childNodes[1].childNodes[2].childNodes[0].childNodes[2].attributes[0].value = 'password'
这种改变type的方法不合理吧!
原始邮件
发件人:杨奕notifications@github.com
收件人:ElemeFE/elementelement@noreply.github.com
抄送:Connieqwangqianq_web@foxmail.com; Authorauthor@noreply.github.com
发送时间:2017年4月25日(周二) 11:28
主题:Re: [ElemeFE/element] [Feature Request] wants MessageBox to open typeproperties in the input box. (#4432)
Closed #4432.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Existing Component
是
Component Name
MessageBox
Description
实际项目中,用MessageBox实现输入密码登录的时候,因为没有开放type=password的input。所以导致密码明文了。希望开放修改input的type的属性。
The text was updated successfully, but these errors were encountered: