I recently started using the Nebular theme and encountered an issue with a checkbox that isn't functioning properly.
HTML
<nb-checkbox [value]="checked" (change)="toggle($event)"></nb-checkbox>
TypeScript
toggle(checked: any) {
this.checked = checked.target.checked;
}
Module.ts
//import
import { NbCheckboxModule } from '@nebular/theme';
imports: [NbCheckboxModule]
The toggle function is being called without errors, but the checkbox remains unchecked. I have spent considerable time debugging to no avail. Any insights into what may be causing this issue? Thank you for your help.
Angular Version: 7.1
Nebular version: ^3.5.0