Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.10.6
-
Component/s: None
-
Labels:None
Description
Usecase:
[code]
$element->loadDefaultDecorators()->removeDecorator('Errors')
[code]
when simply removing one decorator (for example for use with the formErrors decorator) this is simpler than setting the whole stack. It is also more consistent with other Zend_Form / Zend_Form_Element methods
Ryan would you do this as well in:
./Form.php
./Form/SubForm.php
./Form/Element/Captcha.php
./Form/Element/Image.php
./Form/Element/File.php
./Form/Element/Submit.php
./Form/Element/Radio.php
./Form/DisplayGroup.php