-
Notifications
You must be signed in to change notification settings - Fork 133
Platform: Checkbox Component Technical Design
kavya-b edited this page May 13, 2020
·
6 revisions
The checkbox is an input element which is used to represent a binary or ternary value field.
<fdp-checkbox
[(ngModel)]="vote"
[tristate]="false"></fdp-checkbox>
There is already a Fundamental NGX: Core implementation of Checkbox. As such the Platform Checkbox component will be a wrapper around the Core component, and will have the same property and/or event bindings.
As this is an input control
it needs to implement the FormFieldControl
as described in the FormGroup Layout or extend existing BaseInputComponent.
Link to general support for i18n: Supporting internationalization in ngx/platform
Special Usecase: No
-
fdp-checkbox
'slabel
and can be supported with string binding:
<fdp-checkbox
[name]="'checkbox-7'"
i18n-label="@@cbLabel"
label="Checkbox7"
i18n-value="@@cbValue"
value="Checkbox7"
[(ngModel)]="example6">
</fdp-checkbox>
Redesign Required: No
@Manju: Need description for the signature, like we have for other components.