Link Chooser
Schema
Use link-chooser
to reference this resource in the template schema.
Field | Type | Description |
---|---|---|
control | String | “link-chooser” |
label | String | Label that is shown above the control |
value | Link | A Link resource, view the resource definition to see examples of how to use. The newTab property on this resource will reflect whether or not the user has selected to open the link in a new tab. |
Example usage
{
"control": "link-chooser",
"label": "Link",
"value": {
"type": "external",
"href": "https://www.example.com",
"newTab": true
},
}