diff --git a/src/View/Helper/FormTextarea.php b/src/View/Helper/FormTextarea.php index feb2a9d2..3051ebe2 100644 --- a/src/View/Helper/FormTextarea.php +++ b/src/View/Helper/FormTextarea.php @@ -27,6 +27,7 @@ class FormTextarea extends AbstractHelper 'disabled' => true, 'form' => true, 'maxlength' => true, + 'minlength' => true, 'name' => true, 'placeholder' => true, 'readonly' => true, diff --git a/test/View/Helper/FormTextareaTest.php b/test/View/Helper/FormTextareaTest.php index 69269777..38da0f76 100644 --- a/test/View/Helper/FormTextareaTest.php +++ b/test/View/Helper/FormTextareaTest.php @@ -115,6 +115,7 @@ public function validAttributes() ['disabled', 'assertContains'], ['form', 'assertContains'], ['maxlength', 'assertContains'], + ['minlength', 'assertContains'], ['name', 'assertContains'], ['placeholder', 'assertContains'], ['readonly', 'assertContains'], @@ -211,6 +212,7 @@ public function getCompleteElement() 'disabled' => 'disabled', 'form' => 'value', 'maxlength' => 'value', + 'minlength' => 'value', 'name' => 'value', 'placeholder' => 'value', 'readonly' => 'readonly',