We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1a11b0 commit 7ad56e2Copy full SHA for 7ad56e2
examples/pages/components/form/pages/checkbox/index.js
@@ -194,7 +194,7 @@ Page({
194
let index = e.currentTarget.dataset['index'];
195
let items = this.data[`items${index}`];
196
items.forEach(item => {
197
- if(item.id === e.detail.key) {
+ if(item.id.toString() === e.detail.key) {
198
item.checked = e.detail.checked;
199
}
200
});
0 commit comments