ZF-10479: Setting value on Zend_Dojo_Form_Element_HorizontalSlider does not work in programmatic mode


Setting a value on the slider does not work in programmatic mode. - Declarative works fine.

class Dojo_Form_Slider extends Zend_Dojo_Form
    public function init()
        $severityElement = new Zend_Dojo_Form_Element_HorizontalSlider('severity');
            'easy', 'medium', 'hard'
            'list' => array(
                'style' => 'height:1em; font-size=75%;color:gray;',


Correct final patch, overrides patch of bug 11301

Applied to trunk and 1.11 release branch, and noted that it supercedes ZF-11301 patch.

Pull request for porting the patch in ZF2 is sent: