github
DocsBlog
fontcolor_theme
Desktop UI

Checkbox

PreviewHTML

checkDisable all
Active: false

checkDisabled

API <dui-checkbox>(source)

searchclear
This component is compatible with Angular Forms. You can use [(ngModel)] or formControlName with it.

Checkbox component to toggle boolean values.

<dui-checkbox [(ngModel)]="myValue">Check me!</dui-checkbox>
Name
Description
@Input() disabled?: boolean
@Input() required?: boolean
@Input() value?: boolean
@Output() disabledChange?: boolean
@Output() valueChange?: boolean
error: boolean
valid: boolean
setValue(value?: boolean): void