Checkbox
A checkbox input component that provides a three-state toggle functionality. Supports true/false/null states with configurable null state support, custom styling, and keyboard accessibility. Ideal for boolean inputs or multi-state selections.
Extends: fieldComponent
Fields
Name | Code | Data Type | Description |
|---|---|---|---|
Label |
| multi-locale | Display label for the checkbox |
ID |
| text | Unique identifier for the component |
Style Classes |
| text | CSS classes for styling |
Width |
| text | Controls component width |
Value |
| text | Current checkbox state |
Visible |
| boolean | Controls component visibility |
Enabled |
| boolean | Controls whether component is enabled |
Field Style |
| text | Additional field styling options |
Allow Null |
| boolean | Allows a third indeterminate state ( |
Methods
Name | Description |
|---|---|
| Converts the input value to the checkbox's internal state representation |
| Converts the checkbox's internal state to the output value format |
| Handles checkbox state changes and updates the model value |
Events
Name | Description |
|---|---|
| Triggered when the checkbox state is changed |
| Triggered when the checkbox loses focus |
| Triggered when the checkbox gains focus |