<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps(['label' => '', 'name' => '', 'required' => false, 'md' => 12]) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps(['label' => '', 'name' => '', 'required' => false, 'md' => 12]); ?>
<?php foreach (array_filter((['label' => '', 'name' => '', 'required' => false, 'md' => 12]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $__defined_vars = get_defined_vars(); ?>
<?php foreach ($attributes as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
} ?>
<?php unset($__defined_vars); ?>
<div class="mb-3 form-group col-md-<?php echo e($md); ?>">
    <label class="mb-2"><?php echo e($label); ?></label>
    <select name="<?php echo e($name); ?>" class="select2">
        <?php echo e($slot); ?>

    </select>
    <span id="<?php echo e($name); ?>" class="text-danger d-none"></span>
</div>
<?php /**PATH D:\laragon\www\new demo\resources\views/components/select.blade.php ENDPATH**/ ?>