ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.12k stars 14.64k forks source link

[bug report] when the input component is password and: Disabled = 'true', the element disable status (gray) is invalid #18515

Open yan1989 opened 4 years ago

yan1989 commented 4 years ago

Element UI version

2.13.0

OS/Browsers version

win10

Vue version

2.6.9

Reproduction Link

https://codepen.io/pen

Steps to reproduce

当input组件为password,:disabled='true'的时候,前后元素包括password元素字体颜色不为灰色

What is Expected?

元素变为禁用状态(灰色)

What is actually happening?

元素状态未改变

element-bot commented 4 years ago

Translation of this issue:

Element UI version

2.13.0

OS/Browsers version

Win10

Vue version

2.6.9

Reproduction Link

https://codepen.io/pen

Steps to reproduce

When the input component is password and: Disabled = true ', the font color of the front and back elements, including the password element, is not gray

< El form item label = "user name:" > When isconnected is true, the color status of the user name and password does not change, that is to say, they do not change to gray

What is Expected?

Element becomes disabled (gray)

What is actually happening?

Element state unchanged

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.