{# // If you need to include extra fields on a select option // format a JSON string in 'data-extra' like this: // // // // Also see the showFields case below in the formSelectStandalone macro. // -matt #} {%- macro formSelect(name, label, choices) -%} {# check for a fields property on any of the choices, and add class if one exists #} {% set selectFields = ' apos-fieldset-select-show-fields' if aposContainsProperty(choices, 'showFields') else '' %}
{{ formSelectStandalone(name, choices) }}
{%- endmacro -%}