single-choice-dropdown (legacy docs)

These single-choice-dropdown docs are out of date

New functionality and features were added to single-choice-dropdown in version 4.84.0 of the JourneyApps runtime. Please refer to the latest docs here.

A single choice dropdown allows the user to select a single option from a dropdown menu.

Note: If there are more than 12 items displayed, a type-ahead filter is displayed.

<var name="meal_type" type="single-choice">
    <option key="meat">Meat</option>
    <option key="vegetarian">Vegetarian</option>
    <option key="vegan">Vegan</option>
</var>

<single-choice-dropdown label="Meal Type" bind="meal_type" />

Configuration

Last updated