Component
MatMultiCheckboxFieldComponent
@ng-forge/dynamic-forms-material
Signature
class MatMultiCheckboxFieldComponent
implements MatMultiCheckboxComponentProperties
| Name | Type | Description |
|---|---|---|
field | InputSignal<FieldTree<ValueType[]>> | - |
key | InputSignal<string> | - |
label | InputSignal<DynamicText> | - |
placeholder | InputSignal<DynamicText> | - |
className | InputSignal<string> | - |
tabIndex | InputSignal<number> | - |
options | InputSignal<FieldOption<ValueType>[]> | - |
props | InputSignal<MatMultiCheckboxProps> | - |
meta | InputSignal<FieldMeta> | - |
valueViewModel | WritableSignal<FieldOption<ValueType>[]> | - |
checkedValuesMap | Signal<Record<string, boolean>> | Computed map of checked option values for O(1) lookup in template |
validationMessages | InputSignal<ValidationMessages> | - |
defaultValidationMessages | InputSignal<ValidationMessages> | - |
resolvedErrors | Signal<ResolvedError[]> | - |
showErrors | Signal<boolean> | - |
errorsToDisplay | Signal<ResolvedError[]> | - |
hintId | Signal<string> | Unique ID for the hint element, used for aria-describedby |
errorId | Signal<string> | Base ID for error elements, used for aria-describedby |
ariaInvalid | Signal<any> | aria-invalid: true when field is invalid AND touched, false otherwise |
ariaRequired | Signal<boolean> | aria-required: true if field is required, null otherwise (to remove attribute) |
ariaDescribedBy | Signal<string> | aria-describedby: links to hint and error messages for screen readers |
Methods
| Name | Return Type | Description |
|---|---|---|
onCheckboxChange() | void | - |
packages/dynamic-forms-material/src/lib/fields/multi-checkbox/mat-multi-checkbox.component.ts:12