From a4b32dcafd29543260b422acc8a485cedb50d4c2 Mon Sep 17 00:00:00 2001 From: OllieJC Date: Tue, 18 Jan 2022 22:59:40 +0000 Subject: [PATCH] Add textarea option --- app/Setting.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Setting.php b/app/Setting.php index e1f8bf40..2c6c2b26 100644 --- a/app/Setting.php +++ b/app/Setting.php @@ -126,6 +126,9 @@ class Setting extends Model } $value = Form::select('value', $options, null, ['class' => 'form-control']); break; + case 'textarea': + $value = Form::textarea('value', null, ['class' => 'form-control', 'cols' => '44', 'rows' => '15']); + break; default: $value = Form::text('value', null, ['class' => 'form-control']); break;