From d46a565e6cc3b618d8d5842232e07f1287e2e306 Mon Sep 17 00:00:00 2001 From: w3cj Date: Fri, 12 Apr 2024 05:33:56 -0600 Subject: [PATCH] feat: allow tab in textarea --- app/View/Components/Forms/Textarea.php | 1 + .../views/components/forms/textarea.blade.php | 17 ++++++++++++++++- .../project/service/edit-compose.blade.php | 2 +- .../proxy/new-dynamic-configuration.blade.php | 2 +- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/app/View/Components/Forms/Textarea.php b/app/View/Components/Forms/Textarea.php index 95e0ef5d2..86547cf65 100644 --- a/app/View/Components/Forms/Textarea.php +++ b/app/View/Components/Forms/Textarea.php @@ -22,6 +22,7 @@ public function __construct( public bool $required = false, public bool $disabled = false, public bool $readonly = false, + public bool $allowTab = false, public ?string $helper = null, public bool $realtimeValidation = false, public bool $allowToPeak = true, diff --git a/resources/views/components/forms/textarea.blade.php b/resources/views/components/forms/textarea.blade.php index e9bc4e8c1..a4b499c9c 100644 --- a/resources/views/components/forms/textarea.blade.php +++ b/resources/views/components/forms/textarea.blade.php @@ -1,3 +1,18 @@ + +
@if ($label)
@else -