<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag; ?>
<?php foreach($attributes->onlyProps([
    'id' => '',
    'name' => '',
    'label' => '',
    'placeholder' => '',
    'maxlength' => null,
    'value' => '',
    'required' => false,
]) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
} ?>
<?php $attributes = $attributes->exceptProps([
    'id' => '',
    'name' => '',
    'label' => '',
    'placeholder' => '',
    'maxlength' => null,
    'value' => '',
    'required' => false,
]); ?>
<?php foreach (array_filter(([
    'id' => '',
    'name' => '',
    'label' => '',
    'placeholder' => '',
    'maxlength' => null,
    'value' => '',
    'required' => 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); ?>
<label for="<?php echo e($id); ?>"><?php echo e($label); ?> <?php if($required): ?><span class="text-danger">*</span><?php endif; ?></label>
<textarea <?php if($maxlength): ?> maxlength="<?php echo e($maxlength); ?>" <?php endif; ?> <?php echo e($attributes->merge(['class' => 'form-control text-area-5'])); ?> name="<?php echo e($name); ?>" id="<?php echo e($id); ?>" placeholder="<?php echo e($placeholder); ?>"><?php echo e($value); ?></textarea>
<?php $__errorArgs = [$name];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
    <span class="text-danger"><?php echo e($message); ?></span>
<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php /**PATH D:\laragon\www\docment_latest\main_files\resources\views/components/admin/form-textarea.blade.php ENDPATH**/ ?>