<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps([
    'selectedMonth'=>'',
    'fieldRequired'=>false,
]) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps([
    'selectedMonth'=>'',
    'fieldRequired'=>false,
]); ?>
<?php foreach (array_filter(([
    'selectedMonth'=>'',
    'fieldRequired'=>false,
]), '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); ?>

    <?php if(!$fieldRequired): ?><option value="">--</option> <?php endif; ?>

    <?php $__currentLoopData = range(1,\Carbon\Carbon::MONTHS_PER_YEAR); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $monthNumber): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>)

    <option <?php if($selectedMonth == $monthNumber): echo 'selected'; endif; ?> value="<?php echo e($monthNumber); ?>">

        <?php echo e(now()->startOfMonth()->month($monthNumber)->translatedFormat('F')); ?>

    </option>

    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php /**PATH /home/surab432/sap.internalcsi.my.id/resources/views/components/forms/months.blade.php ENDPATH**/ ?>