Skip to content

Select Component

Travis Tidwell edited this page Jul 5, 2017 · 6 revisions

JSON Schema

The JSON Schema definition for this component is defined as follows.

Core Properties

This component uses the core properties defined within the Common Parameters section.

Specific Properties

Property Description Value Required Default
data.values An array of value objects Array of value objects, where each item in the array has the following properties.
  • label - The label to show for this value
  • value - The value of this radio input
false []
data.json A JSON object which is a manual entry of the items within the select dropdown list. Any valid JSON false
data.url A url to retrieve data records from using a GET request. Any valid URL false
data.resource A resource Form ID if a resource is to be used as the data source. A Valid Form ID false
data.custom A string that will be executed JavaScript that will determine the values within this select list. Valid JavaScript which will set a values object which is the values used to populate the select list. false
Clone this wiki locally