<?php
if (!defined('ABSPATH')) exit;

$iwbvel_field_id = 'iwbvel-bulk-new-form-' . esc_attr($iwbvel_item['name']);
$iwbvel_multiple = isset($iwbvel_item['multiple']) && $iwbvel_item['multiple'] ? 'multiple' : '';
$iwbvel_select2_class = isset($iwbvel_item['select2']) && $iwbvel_item['select2'] ? 'iwbvel-select2' : '';
$iwbvel_ajax = isset($iwbvel_item['ajax']) && $iwbvel_item['ajax'] ? 'data-ajax=""' : '';
?>
<select <?php echo (isset($iwbvel_item['disabled']) && $iwbvel_item['disabled']) ? 'disabled="disabled"' : ''; ?>
    id="<?php echo esc_attr($iwbvel_field_id); ?>"
    data-field="value"
    class="iwbvel-get-products-ajax <?php echo esc_attr($iwbvel_select2_class); ?>"
    <?php echo esc_attr($iwbvel_multiple); ?>
    <?php echo esc_attr($iwbvel_ajax); ?>>
</select>