- Description:
This key defines how CloudCannon shows Structure options to populate an Object or Array input.
This can be using a select-style search bar or a pop-up modal.
Modals are useful when you have several value options for your Structure.
Values can be one of the following:
select, ormodal.- Appears in:
- Type:
string- Default value:
select- Allowed values:
selectmodal- Examples:
In this example, the
related_articlesStructure only has one option so aselectsearchbar is appropriate.Copied to clipboard_structures: related_articles: style: select values: - value: name: description: url:{ "_structures": { "related_articles": { "style": "select", "values": [ { "value": null, "name": null, "description": null, "url": null } ] } } }