Repository navigation
Address Component
Travis Tidwell edited this page Jun 30, 2017
·
6 revisions
The address form component is a special component that does lookups for addresses entered. It can be entered in free form and will save the address as well as geolocation and other information.
The JSON Schema definition for this component is defined as follows.
| Property | Description | Value | Required | Default |
|---|---|---|---|---|
| type | The type of component | address |
yes | address |
| key | The API key for this field. | any string
|
yes | |
| label | The HTML label to give this component | any string
|
no | |
| placeholder | The text to show in the input before they type. | any string
|
no | |
| input | Determines if this is an input from the user. |
true or false
|
yes | true |
| tableView | Determines if this field will show in the data tables output. |
true or false
|
no | true |
| multiple | If this field should collect multiple values, creating an array of values. |
true or false
|
no | false |
| protected | If the value of this field should be shown to the end user via API once it is saved. |
true or false
|
no | false |
| clearOnHide | If the value of this field should be cleared when it is conditionally hidden. |
true or false
|
no | true |
| unique | Validates if this field should be unique amongst other submissions in the same form. |
true or false
|
no | false |
| persistent | Determines if the value of this field should be saved as persistent. |
true or false
|
no | true |
| hidden | Determines if this field should be hidden from view by default. This can be overridden with the conditionals. |
true or false
|
no | false |