Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

value

The option’s value. This is the text that is shown in the pick list and selected by a user.

string

meta

An array of meta data. If there is no meta data then the array is empty.

Meta data might look like this.

Code Block
"meta": [
    { "key": "author", "title": "Author", "value": "John Updike", "show": true },
    { "key": "reader", "title": "Reader", "value": "Oh my god", "show": true },
    { "key": null, title": "ID", "value": "2121", "show": false }
]

object[]

meta.key

An optional key assigned to the data. Null if none.

string?

meta.title

A mandatory title for the meta data.

string

meta.value

The actual value. Can be null.

string?

meta.show

An indicator if this field is shown to users in the UI or should not be shown.

bool

Note: Options are always sorted alphabetically by their value.