Element Plus version
1.2.0-beta.3
OS/Browsers version
win10 chrome
Vue version
3.2.22
Reproduction Link
https://codepen.io/leavesye/pen/abyMvpg
Steps to reproduce
111111
What is Expected?
此时样式应该体现选中项
What is actually happening?
禁用后目前无选中效果
1.2.0-beta.3
win10 chrome
3.2.22
https://codepen.io/leavesye/pen/abyMvpg
111111
此时样式应该体现选中项
禁用后目前无选中效果
3条答案
按热度按时间odopli941#
Translation of this issue:
Element Plus version
1.2.0-beta.3
OS/Browsers version
win10 chrome
Vue version
3.2.22
Reproduction Link
https://codepen.io/leavesye/pen/abyMvpg
Steps to reproduce
one hundred and eleven thousand one hundred and eleven
What is Expected?
The style should reflect the selected item
What is actually happening?
There is no selection effect after disabling
wn9m85ua2#
@YunYouJun cc
6tr1vspr3#
I looked at element2 and found that it also doesn't have that style.
Checkbox button seems to do the same thing as button group.
I think you can start with the button-group directly.
I think this is a legacy of history and we should re-examine the role of checkbox buttons