-
-
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
[bug report] the checkbox component cannot use the check property to control the state #2046
Comments
Translation of this issue: Element Plus version1.0.2-beta.44 OS/Browsers versionchrome85 Vue version3.1.0-beta.3 Reproduction Linkhttps://codepen.io/lchtao26/pen/eYvvqPw Steps to reproduce< El checkbox: checked = "true" > the state cannot be changed by the checked attribute < / El checkbox > What is Expected?The checked property can change the state of the checkbox What is actually happening?The checked property cannot change the state of the checkbox |
Yeah, all form components seem like only take |
If you tried to do single binding, use |
Or maybe this is something that we can optimize with, for temporary fix, use |
Element Plus version
1.0.2-beta.44
OS/Browsers version
chrome85
Vue version
3.1.0-beta.3
Reproduction Link
https://codepen.io/lchtao26/pen/eYvvqPw
Steps to reproduce
不能被checked属性改变状态
What is Expected?
checked属性能改变checkbox的状态
What is actually happening?
checked属性不能改变checkbox的状态
The text was updated successfully, but these errors were encountered: