This is the simplest form of select. It takes a list of options, and a value for the currently selected option.
{%- call ui.util.call(show_example) -%} {%- raw %} {%- set options = [{"value":"1", "text": "First"}, {"value":"2", "text": "Second"}] -%} {{ ui.select(name="select", label="List", options=options, selected="2") }} {%- endraw %} {%- endcall %}