ZF-6802: Dojo TextArea Type Attribute
Description
In Zend_Dojo_View_Helper_Textarea
we have $attribs['type'] = $this->_elementType;
Textarea to be valid should not have a Type attribute - this defaults to type="text" which is not valid W3C
In Zend_Dojo_View_Helper_Textarea
we have $attribs['type'] = $this->_elementType;
Textarea to be valid should not have a Type attribute - this defaults to type="text" which is not valid W3C
Comments
Posted by Tomasz Klapsia (icetique) on 2010-02-07T02:43:30.000+0000
It is really annoying for people who want to make a w3c validator compatybile website. Please fix it!
Posted by Quentin Berlemont (quentinb) on 2011-02-28T12:14:47.000+0000
Please .. it's not too hard :)
Posted by Matthew Weier O'Phinney (matthew) on 2011-03-01T09:59:04.000+0000
Then write a test and a patch. ;-)
Posted by Matthew Weier O'Phinney (matthew) on 2011-03-01T10:26:13.000+0000
Fixed in trunk and 1.11 release branch.
Posted by Robert Basic (robertbasic) on 2011-08-01T12:34:11.000+0000
Pull request for porting the patch in ZF2 is sent: https://github.com/zendframework/zf2/pull/305