Content Layout Depending on List

NAV IS OUTPUT

Output a different layout depending on what a user has selected in a list.

If we assume the user can only choose a single item in the list (e.g. they're not using a Multi-select list or a Checkbox) then we can use the following:

{{#each (selected element="Select the layout to be output")}}
{{embed layout=value}}
{{/each}}

Example 1

User selected the list item: Layout A with the value Layout A

This is the layout text/layout-1

Example 2

User selected the list item: Layout B with the value Layout B

This is the layout text/layout-2