Skip to content

Platform: CheckboxGroup Technical Design

Frantisek Kolar edited this page Feb 17, 2020 · 14 revisions

Summary

CheckboxGroup provides multi-select option built on top of Checkbox component. Since we dont want to layout checkbox 1 by 1 we need to create this component aggregating its functionalities.

Just like every input control it needs to implement the FormFieldControl as described in the FormGroup Layout or extend existing BaseInputComponent to leverage some of the functionality. This documents focuses only on new and specific bindings to this component

1. Render selection based on list

<fdp-checkbox-group [list]="colors" [value]="initialValue" [placeholder]>
</fdp-checkbox-group>
Clone this wiki locally