BaseDetailBox
conveniently display key value pairs in a list
Props
| Prop name | Description | Type | Values | Default |
|---|---|---|---|---|
| data | an array with objects to pass the data to be displayed, expecting an object withlabel and value properties - if different please use valuePropertyNameand labelPropertyName respectively! | array | - | [] |
| valuePropertyName | customize the value property displayed | string | - | 'value' |
| labelPropertyName | customize the label property displayed | string | - | 'label' |
| language | specify a language (ISO 639-1) (used for label if label is language specific object e.g. { de: 'xxx', en: 'yyy' }) | string | - | 'en' |
Demo
An Element to render data in datalist tags
Example with custom properties and language specific label