<?php
if (!defined('ABSPATH')) exit; // Exit if accessed directly 
?>

<select id="<?php echo esc_attr($iwbvel_field_id); ?>" class="iwbvel-input-md" data-field="value" <?php echo (isset($iwbvel_item['disabled']) && $iwbvel_item['disabled']) ? 'disabled="disabled"' : ''; ?>>
    <?php if (isset($iwbvel_item['first_option'])): ?>
        <option value=""><?php echo esc_html($iwbvel_item['first_option']); ?></option>
    <?php endif; ?>
    <?php if (isset($iwbvel_item['options']) && is_array($iwbvel_item['options'])): ?>
        <?php foreach ($iwbvel_item['options'] as $iwbvel_key => $iwbvel_value): ?>
            <option value="<?php echo esc_attr($iwbvel_key); ?>"><?php echo esc_html($iwbvel_value); ?></option>
        <?php endforeach; ?>
    <?php endif; ?>
</select>