Skip to content

Add more flexibility to data shape for components like TECheckBoxGroup and TERadioButtonGroup. #22

@SCasarotto

Description

@SCasarotto

Currently for many components there is a strict shape of data used to create options. For example TECheckboxGroup wants an array looking like:

{
  label: string;
  value: string;
  key: string;
}

It would be nice to add props like pathForLabel and pathForValue so that data doesn't need to be manipulated to fit into the buttonArray prop.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions