Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

importing the fix for ZF-9771 #308

Closed
wants to merge 1 commit into from

2 participants

@robertbasic

No description provided.

@weierophinney

Reviewed, merged, and pushed to master - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 1, 2011
  1. @robertbasic
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 1 deletion.
  1. +5 −1 library/Zend/Dojo/View/Helper/ComboBox.php
View
6 library/Zend/Dojo/View/Helper/ComboBox.php
@@ -103,7 +103,11 @@ public function direct($id = null, $value = null, array $params = array(), array
$html .= $this->_createFormElement($id, $value, $params, $attribs);
return $html;
}
-
+
+ // required for correct type casting in declerative mode
+ if (isset($params['autocomplete'])) {
+ $params['autocomplete'] = ($params['autocomplete']) ? 'true' : 'false';
+ }
// do as normal select
$attribs = $this->_prepareDijit($attribs, $params, 'element');
return $this->view->broker('formSelect')->direct($id, $value, $attribs, $options);
Something went wrong with that request. Please try again.