<?php
    $name = $name ?? 'password';
    $label = $label ?? 'Password';
    $required = $required ?? false;
    $labelClass = $labelClass ?? 'form-label';
    $autocomplete = $autocomplete ?? 'new-password';
?>
<div class="mb-3">
    <label class="<?php echo e($labelClass); ?>"><strong><?php echo e($label); ?></strong></label>
    <div class="input-group js-password-wrap">
        <input
            type="password"
            name="<?php echo e($name); ?>"
            class="form-control <?php $__errorArgs = [$name];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>"
            <?php echo e($required ? 'required' : ''); ?>

            autocomplete="<?php echo e($autocomplete); ?>"
        >
        <button type="button" class="btn btn-primary light js-toggle-password" tabindex="-1" aria-label="Show password">
            <i class="fa fa-eye"></i>
        </button>
    </div>
    <?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 d-block"><?php echo e($message); ?></div>
    <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
</div>
<?php /**PATH /Users/fasil/Sites/iqec/admin/resources/views/iqec/partials/password-field.blade.php ENDPATH**/ ?>