Skip to content
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

[Component] [message-box] 【ElMessageBox.prompt】 inputType 属性为 'password' 的时候,浏览器会自动填充,无法禁用 #12685

Closed
Greasen opened this issue May 5, 2023 · 2 comments

Comments

@Greasen
Copy link

Greasen commented May 5, 2023

Bug Type: Component

Environment

  • Vue Version: 3.2.41
  • Element Plus Version: 2.3.0
  • Browser / OS: chrome 112.0.56 / windows 11
  • Build Tool: Vite

Reproduction

Related Component

  • el-message-box

Reproduction Link

Element Plus Playground

Steps to reproduce

设置 inputType 为 password,输入框会自动填充

What is Expected?

禁用自动填充

What is actually happening?

自动填充

Additional comments

(empty)

@Greasen
Copy link
Author

Greasen commented May 6, 2023

已解决:
设置 css 为
.el-input__inner {
text-security: disc;
-webkit-text-security: disc;
}

@Greasen Greasen closed this as completed May 6, 2023
@github-actions
Copy link

github-actions bot commented Jun 5, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

@github-actions github-actions bot locked and limited conversation to collaborators Jun 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant