Skip to content

Commit

Permalink
fix(react): update lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
fynnfeldpausch committed Jun 27, 2024
1 parent e257b44 commit 2b962c7
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export class BooleanValueAccessor extends ValueAccessor {
super(el);
}
writeValue(value: any) {
this.el.nativeElement.checked = this.lastValue = value == null ? false : value;
this.el.nativeElement.checked = this.lastValue =
this.el.nativeElement.value == null ? value : this.el.nativeElement.value === value;
}
}
76 changes: 52 additions & 24 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2b962c7

Please sign in to comment.