title: Create Textarea input box in Zend 2 Form
body: <p>I'm trying to set a textarea in a Zend Form but it always creates an input type text box.</p>
  
  <p>I read some code using the Zend\Form\Element\Textarea but still no luck</p>
  
  <p>This is how I am doing it in my ProjectForm.php:</p>
  
  <pre><code>$this-&gt;add(array(
              'name' =&gt; 'summary',
              'type' =&gt; 'Zend\Form\Element\Textarea',
              'options' =&gt; array(
                  'label' =&gt; 'Resumen',
              ),
          ));
  </code></pre>
  
  <p>And in Project.php I have this</p>
  
  <pre><code>    $inputFilter-&gt;add($factory-&gt;createInput(array(
          'name'     =&gt; 'summary',
          'required' =&gt; true,
          'filters'  =&gt; array(
              array('name' =&gt; 'StripTags'),
              array('name' =&gt; 'StringTrim'),
          ),
          'validators' =&gt; array(
              array(
                  'name'    =&gt; 'StringLength',
                  'options' =&gt; array(
                      'encoding' =&gt; 'UTF-8',
                      'min'      =&gt; 1,
                      'max'      =&gt; 500,
                  ),
              ),
          ),
      )));
  </code></pre>
  
  <p>Thanks</p>