Skip to content

Commit fa5af2f

Browse files
committed
Propagate checkbox click events
1 parent d92b36f commit fa5af2f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/checkbox/Checkbox.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,7 @@ export class Checkbox extends FormElement {
9191
return value;
9292
}
9393

94-
private handleClick(evt: MouseEvent = null): void {
95-
if (evt) {
96-
evt.preventDefault();
97-
evt.stopPropagation();
98-
}
99-
94+
private handleClick(): void {
10095
if (!this.disabled) {
10196
this.checked = !this.checked;
10297
}

0 commit comments

Comments
 (0)