<div class="<?php echo \Illuminate\Support\Arr::toCssClasses(['mb-3','col-12' => !$customDivClass,$customDivClass => $customDivClass]); ?>">
    <label for="<?php echo e($id); ?>" class="form-label">
        <?php echo e($label); ?>

        <?php if($required): ?>
            <span class="text-danger">*</span>
        <?php endif; ?>
    </label>
    <select id="<?php echo e($id); ?>"
            name="<?php echo e($name); ?>"
            <?php if($wireIgnore): ?> wire:ignore <?php endif; ?>
            <?php if($wireModel): ?> wire:model="<?php echo e($wireModel); ?>" <?php endif; ?>
            class="<?php echo \Illuminate\Support\Arr::toCssClasses(["form-select","is-invalid" => $errors->first($name),$customInputClass => $customInputClass]); ?>"
            <?php if($type): ?> type="<?php echo e($type); ?>" <?php else: ?> type="text" <?php endif; ?>
            <?php if($readOnly): ?> readonly <?php endif; ?>
            <?php if($disabled): ?> disabled <?php endif; ?>
            <?php if($required): ?> required <?php endif; ?>>
        <?php if(!$wireModel): ?>
            <option selected readonly value=""><?php echo app('translator')->get('Choose a value'); ?></option>
        <?php endif; ?>
        <?php if($options): ?>
            <?php $__currentLoopData = $options; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option <?php if(($key ?? $value) == $selected): echo 'selected'; endif; ?> value="<?php echo e($key ?? $value); ?>"><?php echo e($value ?? $key); ?></option>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php endif; ?>
    </select>
    <?php $__errorArgs = [$name];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
    <div class="invalid-feedback animated fadeIn">
        <?php echo e($message); ?>

    </div>
    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
<?php /**PATH /home/menyum/durrem.menyum.az/resources/views/components/admin/form/select.blade.php ENDPATH**/ ?>