Issues

ZF-3879: Zend_Dojo_Form_Element_CheckBox renders an options attribute with value "0 1"

Issue Type: Bug Created: 2008-08-07T01:55:12.000+0000 Last Updated: 2009-02-24T03:23:04.000+0000 Status: Resolved Fix version(s): - 1.6.1 (15/Sep/08)

Reporter: Jan Wagner-Rosenkranz (skywalker) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Dojo

Related issues: Attachments:

Description

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.

Have you found an issue?

See the Overview section for more details.

Copyright

© 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.

Contacts