Skip to content

Resource Component

Travis Tidwell edited this page Jul 5, 2017 · 5 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
resource The Form ID of the resource to use as the data source. A valid Form ID true
project The hosted Form.io Project ID where this resource is contained A valid Project ID true
template The Handlebars template to show in the select text area. HTML Template. The following variables are provided.
  • item - The full submission object.
true
<span>{{ item.data }}</span>
selectFields The fields to return within the list to make it so it does not need to load an array of full data objects. Fields to select false
searchFields The fields to use for searching when the user types into the text box to search for a record. Fields to search false