Skip to content

Commit a23c673

Browse files
authored
fix: form提交时能正确获取checkbox-group的值 (#4017)
1 parent bc54a29 commit a23c673

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/components/checkbox-group/checkbox-group.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ const name = `${prefix}-checkbox-group`;
88
export default class CheckBoxGroup extends SuperComponent {
99
externalClasses = [`${prefix}-class`];
1010

11+
behaviors = ['wx://form-field'];
12+
1113
relations: RelationsOptions = {
1214
'../checkbox/checkbox': {
1315
type: 'descendant',

0 commit comments

Comments
 (0)