ZF-6371: Cannot set editor element height to empty string

Issue Type: Bug Created: 2009-04-22T06:05:14.000+0000 Last Updated: 2011-08-28T10:47:46.000+0000 Status: Open Fix version(s): Reporter: Kostya L. (coviex) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Dojo

Related issues: Attachments: - ZF-6371-tests.diff


<pre class="highlight"> Message: Invalid height provided; must be integer or CSS measurement
Stack trace:

#0 C:\...\library\Zend\ZendFramework-1.7.7\library\Zend\Form\Element.php(328): Zend_Dojo_Form_Element_Editor->setHeight('')


Dojo says:

{quote}Set height to fix the editor at a specific height, with scrolling. By default, this is 300px. If you want to have the editor always resize to accommodate the content, use AlwaysShowToolbar plugin and set height=""{quote}


Posted by Robert Basic (robertbasic) on 2011-08-28T07:48:13.000+0000

Attached patch + tests.

Posted by Pádraic Brady (padraic) on 2011-08-28T10:47:46.000+0000

I've reviewed the patch and confirm it operates as intended. Recommend committing to trunk and merging to release branch.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.