kartik-v / yii2-slider

A slider input with orientations, range selections and more features based on bootstrap-slider.
http://demos.krajee.com/slider
Other
28 stars 20 forks source link

Slider just display Textbox, not like interface as in demo #8

Closed levanlau closed 9 years ago

levanlau commented 9 years ago

Hi, I downloaded the lastest version of Slider widget. And I also use a code segment in http://demos.krajee.com/slider: echo Slider::widget([ 'name'=>'rating_1', 'value'=>7, 'sliderColor'=>Slider::TYPE_GREY, 'handleColor'=>Slider::TYPE_DANGER, 'pluginOptions'=>[ 'handle'=>'triangle', 'tooltip'=>'always' ] ]);

But I only get a Textbox with the value is 7. Please help me this.Thanks

kartik-v commented 9 years ago

You may be facing a javascript error due to other javascript plugins/or sources... OR your browser maybe blocking javascript. Debug for these on your client.

levanlau commented 9 years ago

Yes,I see. But i debuged in browser and do not have any errors. I tried out it on all browsers and on a single form with only a Silder widget. Before, I used StarRating widget and also facing similar error, but now, StarRating widget is ok. Thanks.

kartik-v commented 9 years ago

If you are able to see the demo properly - it sure does seem some problem on your local install. You may want to purge your web assets and browser cache. You may also try reinstalling all packages via composer using this webtip.

levanlau commented 9 years ago

Ok,thanks. I will do that following your guide.