ZF-3879: Zend_Dojo_Form_Element_CheckBox renders an options attribute with value "0 1"
Description
Zend_Dojo_Form_Element_CheckBox renders an options attribute with value "0 1" in the input tag. This is not XHTML compliant.
Zend_Dojo_Form_Element_CheckBox renders an options attribute with value "0 1" in the input tag. This is not XHTML compliant.
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2008-09-08T11:55:08.000+0000
Patches applied to trunk and 1.6 release branch.
Posted by Dieter Devlieghere (dermika) on 2009-02-24T03:23:03.000+0000
I'm working with Zend Framework 1.7.4 here and I have this issue as well:
$gsPr1 = new Zend_Dojo_Form_Element_CheckBox('cbxGreenSeatPrice1'); $gsPr1->setLabel('Greenseat 1'); $gsPr1->setValue('greenseat1'); $gsPr1->setChecked(false);
Renders to:
Another issue: setChecked(false) doesn't seem to work.