diff --git a/lib/zin/func.php b/lib/zin/func.php index 70d01f4429..8fca0a92ec 100644 --- a/lib/zin/func.php +++ b/lib/zin/func.php @@ -46,7 +46,6 @@ function input(): input * int cols * ?string id * ?string class='form-control' - * ?string value * ?bool required * ?string placeholder */ diff --git a/lib/zin/wg/textarea/v1.php b/lib/zin/wg/textarea/v1.php index 0c33476942..108c8bb019 100644 --- a/lib/zin/wg/textarea/v1.php +++ b/lib/zin/wg/textarea/v1.php @@ -7,7 +7,6 @@ class textarea extends wg 'name: string', 'id?: string', 'class?: string', - 'value?: string', 'required?: bool', 'placeholder?: string', 'rows?: int', @@ -21,6 +20,6 @@ class textarea extends wg protected function build() { - return h::textarea(set($this->props)); + return h::textarea(set($this->props), $this->children()); } }