From e025346648320e8ceb8d4744c213f81f2e8988dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?SIGUI=20Kess=C3=A9=20Emmanuel?= Date: Wed, 9 Aug 2023 20:03:35 +0100 Subject: [PATCH] :adhesive_bandage: Fix textarea value --- CHANGELOG.md | 1 + src/Components/Textarea.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c3c4b3a..46a2255 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ All notable changes to [Sikessem's UI kit](https://github.com/sikessem/ui) will ## [v0.6.1](https://github.com/sikessem/ui/releases/tag/v0.6.1) - 2023-08-07 +- [0.x] Fix textarea value - [0.x] Fix input value - [0.x] Fix button text - [0.x] Add text element diff --git a/src/Components/Textarea.php b/src/Components/Textarea.php index e1b49aa..cefed91 100644 --- a/src/Components/Textarea.php +++ b/src/Components/Textarea.php @@ -19,7 +19,7 @@ class Textarea extends FormControl public function __construct( string $name, string $id = null, - string|array $value = [], + string|array $value = null, string $current = null, string $default = null, bool $invalid = false,