You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checked a checkbox and ElCheckboxGroup@change handler work as expect, value will be the checked box value.
What is actually happening?
It checked all checkbox. The console output of the value of ElCheckboxGroup@change handler, list contain a undefined when checked, and is emtpy when unchecked.
If the 'v-model' variable of ElCheckboxGroup has default value, the output will be the default value and undefined when checked, be default value when unchecked.
Additional comments
This bug only occur when use cdn to import element-plus, when I dev in local use local npm package it will not occur.
This bug occur under the version v6.0, at least v2.0-v5.* all have this bug.
Although this bug not occur in v6.0+, but I notice the update notes do not mention this bug, don't know wheather occur in the future.
The text was updated successfully, but these errors were encountered:
@makedopamine Can be reproduce with the Element Plus Playground I mentioned. This playground can't save the version information, so switch to the corresponding version.
Bug Type:
Component
Environment
3.3.4
2.3.12
Chrome/124.0.0.0 Safari/537.36 / MacOS 14.4.1
CDN
Reproduction
Related Component
el-checkbox-group
Reproduction Link
Element Plus Playground
Steps to reproduce
Clike one of the checkbox.
What is Expected?
Checked a checkbox and
ElCheckboxGroup
@change handler work as expect, value will be the checked box value.What is actually happening?
It checked all checkbox. The console output of the
value
ofElCheckboxGroup
@change
handler, list contain a undefined when checked, and is emtpy when unchecked.If the 'v-model' variable of
ElCheckboxGroup
has default value, the output will be the default value and undefined when checked, be default value when unchecked.Additional comments
This bug only occur when use cdn to import element-plus, when I dev in local use local npm package it will not occur.
This bug occur under the version v6.0, at least v2.0-v5.* all have this bug.
Although this bug not occur in v6.0+, but I notice the update notes do not mention this bug, don't know wheather occur in the future.
The text was updated successfully, but these errors were encountered: