Skip to content

Platform: Checkbox Component Technical Design

manjunathanagaraj edited this page Mar 13, 2020 · 6 revisions

Checkbox

Summary

The checkbox is an input element which is used to represent a binary or ternary value field.

Example

<fdp-checkbox
  [(ngModel)]="vote"
  [tristate]="false"></fdp-checkbox>

Design

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.

#Notes: @Manju: Need description for the signature, like we have for other components.

Clone this wiki locally