<select
    class="breakdance-form-field__input"
    id="{{ field.advanced.id }}"
    name="{{ field.name }}{{ field.multiple ? '[]' : '' }}"
    {{ field.advanced.required ? 'required' : '' }}
    {{ field.multiple ? 'multiple' : '' }}
    {% if field.multiple and field.rows %}
      size="{{ field.rows }}"
    {% endif %}
    {{ field.advanced.autocomplete ? 'autocomplete="' ~ field.advanced.autocomplete ~ '"' }}
    {{ do_action('breakdance_form_field_input_attributes', field) }}
    {% if field.advanced.conditional %}
        {{ macros.conditionalFormFieldAttributes(field.advanced.condition) }}
    {% endif %}
>
  {% if field.multiple != true %}
    <option value="">{{ field.advanced.placeholder | default(esc_html__('Select...', 'breakdance')) }}</option>
  {% endif %}
  {% for option in field.options %}
      <option value="{{ option.value ?? option.label | escape }}" {{ option.selected ? 'selected' }}>{{ option.label }}</option>
  {% endfor %}
</select>
