From d2ffccaca1128c358303c56d930ef11b0fdc8b09 Mon Sep 17 00:00:00 2001 From: OisinKyne Date: Wed, 20 Sep 2017 17:33:04 +0100 Subject: [PATCH] Allow a non-multiple input textarea Currently textareas show up as just text inputs unless they are also multiple inputs. This allows simple textareas to render correctly. --- lib/PhpReports/Report.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/PhpReports/Report.php b/lib/PhpReports/Report.php index 08c77928..7281060c 100644 --- a/lib/PhpReports/Report.php +++ b/lib/PhpReports/Report.php @@ -348,6 +348,8 @@ public function prepareVariableForm() { } } } + elseif ($params['type'] === 'textarea'){ + $params['is_textarea'] = true; else { if($params['multiple']) { $params['is_textarea'] = true;