Skip to content

Commit 7be2fe5

Browse files
fix(module:checkbox): fix type of options (#9099)
1 parent 1c1c3e4 commit 7be2fe5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/checkbox/checkbox-group.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export class NzCheckboxGroupComponent implements ControlValueAccessor {
8383

8484
readonly nzName = input<string | null>(null);
8585
readonly nzDisabled = input(false, { transform: booleanAttribute });
86-
readonly nzOptions = input<NzCheckboxOption[]>([]);
86+
readonly nzOptions = input<NzCheckboxOption[] | string[] | number[]>([]);
8787
readonly value = signal<Array<NzCheckboxOption['value']> | null>(null);
8888
readonly finalDisabled = linkedSignal(() => this.nzDisabled());
8989

0 commit comments

Comments
 (0)