element-plus [bug report] El checkbox group El checkbox button has the disabled status style of the selected item

ej83mcc0  于 2022-10-22  发布在  其他
关注(0)|答案(3)|浏览(253)

Element Plus version

1.2.0-beta.3

OS/Browsers version

win10 chrome

Vue version

3.2.22

https://codepen.io/leavesye/pen/abyMvpg

Steps to reproduce

111111

What is Expected?

此时样式应该体现选中项

What is actually happening?

禁用后目前无选中效果

odopli94

odopli941#

Translation of this issue:

Element Plus version

1.2.0-beta.3

OS/Browsers version

win10 chrome

Vue version

3.2.22

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

6tr1vspr

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

相关问题