[unsolved]strange behavior on CJuiSliderInput after update to 1.1.7

Hi,

I’m using the widget zii.widgets.jui.CJuiSliderInput where model and attribute are set.


$this->widget('zii.widgets.jui.CJuiSliderInput', array('model'=>$model,

    							'attribute'=>'BOOST',

    							'id'=>'SuchSetsSlider',

    							'options'=>array(

        								'min'=>-800,

        								'max'=>800,

        								'value'=>$fallback,

       				       					[...]

The current value of the slider is taken from the $model->BOOST (as you can see). If $model->BOOST is unset (NULL), so in Yii 1.1.6 the JS-Option (‘value’=>$fallback) overwrites the empty value of $model->BOOST and sets the value of the slider depending on $fallback.

But Yii 1.1.7 seems to ignore the JS-Option "value" in this case. Could this be possible?

Thanks for any kind of help or information!

Has nobody any idea?

Is this behavior an feature or an bug?

Not a clue so far. I would like to know why mine will not make changes to the attributes as well.

This question is rather old as it’s from May… the problem is that “value” should not be in options - http://www.yiiframew…er#value-detail