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
The text was updated successfully, but these errors were encountered:
iview-bot
changed the title
[Bug Report]CheckboxGroup组件的on-change事件无法收到当前所选的所有选项数组
The on-change event of the [Bug Report] Checkbox Group component cannot receive an array of all options currently selected
Mar 21, 2019
When you want to click on a checkbox, all the selected options in the current real checkbox group are alert!!!
What is actually happening?
The on-change event of the Checkbox Group component receives the currently selected array only when the bi-directional binding value of V-model is used. Simple use: value or no use: value only binds an on-change event to receive only the currently clicked option, not all the options.
Environment
Darwin Kernel Version 16.7.0/ chrome 72.0.3626.12 (64位)/ vue 3.3.2
Reproduction link
https://run.iviewui.com/McEY13pA
Steps to reproduce
点击选中多个checkbox选项
What is expected?
希望点击一个checkbox的时候,当前整个checkbox group中所有选中的选项都alert出来!!!
What is actually happening?
CheckboxGroup组件的on-change事件只有在使用了v-model双向绑定值的时候才会收到当前所选项的数组,单纯的使用:value或者不使用:value只绑定一个on-change事件只能收到当前点击过的选项,无法收到所有的选项。
The text was updated successfully, but these errors were encountered: