Skip to content

KeyValueItem

A simple key value cell that displays a label and a text pair.

KeyValueItem Properties

Property Type Required Default
KeyName string No
LinkColor string No
OnPress ActionOrRule No
Value string No
Visible boolean No true
_Name string No
_Type const No

KeyName

The key name of the cell.

  • type: string

LinkColor

Use this property to override the Fiori Default color of Value text. Only valid for clickable KeyValue and only accepts Hex code strings

  • type: string

OnPress

Use this property to mark a KeyValue cell as clickable and to define the action on click of the cell


Value

The value of the property.

For iOS devices, there is an unlimited number of lines for the KeyValue section.

For Android devices, the KeyValue section has a maximum of three lines for a value. Also, if the screen width is less than 600 dpi, only one column is rendered for the KeyValue control. On rotation of the screen, the display switches back to multiple columns if the width is more than 600 dpi.

  • type: string

Visible

Set the visibility of this section.

  • type: boolean
  • default: true

_Name

  • type: string

_Type

  • type: const

The value of this property must be:

"KeyValue.Type.Item"