Checkbox Input
Commonly used checkbox input component.
Examples
Checkbox Fields
Basic form controls
Installation
npx wdc add checkboxCode
<wdc-checkbox [ngModel]="appleVal" label="Apple"></wdc-checkbox>
<wdc-checkbox [ngModel]="orangeVal" label="Orange"></wdc-checkbox>
<wdc-checkbox [ngModel]="bananaVal" label="Banana"></wdc-checkbox>API Reference
| Input | Type | Default | Description |
|---|---|---|---|
| label | string | undefined | Label text for the input field. |
| value | boolean | false | Value of the input field. |
| disabled | boolean | false | Whether the input field is disabled. |