From 892d445d808081386c30a3243ad50daae6a56a07 Mon Sep 17 00:00:00 2001 From: EnesSacid-Buker <73346401+EnesSacid-Buker@users.noreply.github.com> Date: Wed, 28 Sep 2022 17:59:36 +0300 Subject: [PATCH] Textarea component disabled option added --- resources/views/components/form/group/textarea.blade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/views/components/form/group/textarea.blade.php b/resources/views/components/form/group/textarea.blade.php index 4127288bf..f458b3119 100644 --- a/resources/views/components/form/group/textarea.blade.php +++ b/resources/views/components/form/group/textarea.blade.php @@ -48,6 +48,9 @@ value="{!! $value !!}" placeholder="{{ $placeholder }}" rows="{{ $rows }}" + @if (isset($attributes['v-disabled']) || isset($attributes['v-bind:disabled'])) + :disabled="isset($attributes['v-disabled']) ? $attributes['v-disabled'] : $attributes['v-bind:disabled']" + @endif {{ $attributes->merge($custom_attributes) }} />