Single Select

Description

Adds the possibility to choose a single value from a given list of values.

Parameters

Parameter Type Description
values collection A collection of values to choose from.
default_value string The name of the param which should be set as default.

Example

<property name="single" type="single_select">
    <meta>
        <title lang="en">Single Select</title>
    </meta>
    <params>
        <param name="default_value" value="option1"/>
        <param name="values" type="collection">
            <param name="option1">
                <meta>
                    <title lang="en">Option 1</title>
                </meta>
            </param>
            <param name="option2">
                <meta>
                    <title lang="en">Option 2</title>
                </meta>
            </param>
        </param>
    </params>
</property>