Bogdan1975 / ng2-slider-component

Angular 2 slider component
MIT License
68 stars 50 forks source link

Slider is not showing only input field for the value #25

Closed medin-n closed 6 months ago

medin-n commented 7 years ago

After successful importing, slider is not showing only the input field for number.

frozenL commented 7 years ago

similar issue

medin-n commented 7 years ago

So i find out that the css is not loaded properly. I fix this by coping the css and pasting to my css then it works ):

sajeetharan commented 7 years ago

how did you fix this?

ShakurOo commented 7 years ago

Same here, i'll definitively remove this poor "component".

arunbjain commented 7 years ago

@Usamedid - where did you get the css?

rach12345 commented 7 years ago

I am facing the same issue. Slider is not visible, but only 2 input fields are present. I see that there is no css. @usamedin which CSS did you load?

medin-n commented 7 years ago

I just give up on this component because i face with so many issues, instead i start using https://github.com/tb/ng2-nouislider much better library.

rach12345 commented 7 years ago

Yes. I too found it. But with ng2-nouislider, I get 'nouiSlider (9.2.0): Start is required' error. Did you face it? And how did you resolve it?

medin-n commented 7 years ago

Aha yes that you need to have model attached to the component in the .ts create model like range=[2,10]; In html <nouislider [(ngModel)]="range" > and other required variables as well

rach12345 commented 7 years ago

Can you please elaborate a little more? Because I have used ngModel along with the nouislider component. I have raised this issue in the following thread: https://github.com/tb/ng2-nouislider/issues/48