Skip to content

Platform: RadioGroup Technical Design

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

Button Group

Summary

The radio button group follows the same principles like CheckxoxGroup.

Example

We will follow the same signature like CheckboxGroup both with list bindings as well as with <fdp-option>

<fdp-radio-group [list]="myOptions">
</fdp-radio-group>

There will one small different that we need to be able to also specify the No selection value in case its required to show None value.

<fdp-radio-group [list]="myOptions" [hasNoneValue]="true" noneValueLabel="(no selection)">
</fdp-radio-group>

Bindings:

  • hasNoneValue: Tells the radio group we need to render_ None Value._
  • _ noneValueLabel_: Provides custom label to the none option.
Clone this wiki locally