|
@validationField
|
string
|
Yes
|
The key in the changeset to read and write the checkbox value.
|
|
@changeset
|
Changeset
|
Yes
|
An ImmerChangeset instance managing form state and validation errors.
|
|
@label
|
string
|
No
|
Label text displayed next to the checkbox.
|
|
@mandatory
|
boolean
|
No
|
When true, displays a mandatory indicator (*) next to the label.
|
|
@disabled
|
boolean
|
No
|
When true, the checkbox is non-interactive.
|
|
@onChange
|
(isChecked: boolean, value: string, e: Event) => void
|
No
|
Callback called with the checked state, value, and native event when the checkbox changes.
|