Issues

ZF-6425: Zend_Dojo_View_Helper_CheckBox / FilteringSelect render Invalid XHTML attributes

Issue Type: Bug Created: 2009-04-25T22:41:27.000+0000 Last Updated: 2012-11-20T20:52:51.000+0000 Status: Closed Fix version(s): Reporter: Roded Konforty (macpire) Assignee: None Tags: - Zend_Dojo

Related issues: Attachments:

Description

invalid attributes are: options listep

shouldn't be render if the Combo box isn't render as a select tag

Result now:

Suppose to be:

Comments

Posted by Roded Konforty (macpire) on 2009-11-23T22:16:41.000+0000

some sort of a solution:

-- Zend_Dojo_View_Helper_FilteringSelect and of course I'm creating my own lib class. (Cms_Dojo_View_Helper_FilteringSelect)

/** Original **/

public function filteringSelect($id, $value = null, array $params = array(), array $attribs = array(), array $options = null) { return $this->comboBox($id, $value, $params, $attribs, $options); }

/** modified **/

public function filteringSelect($id, $value = null, array $params = array(), array $attribs = array(), array $options = null) { if (isset($attribs['options'])) unset($attribs['options']); if (isset($attribs['listsep'])) unset($attribs['listsep']);
return $this->comboBox($id, $value, $params, $attribs, $options); }

Posted by Rob Allen (rob) on 2012-11-20T20:52:51.000+0000

Bulk change of all issues last updated before 1st January 2010 as "Won't Fix".

Feel free to re-open and provide a patch if you want to fix this issue.

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