xwpongithub / vue-range-slider

A range slider component based on vue (Vue滑块组件).
MIT License
122 stars 66 forks source link

custom prop validator fails for :tooltip="false" #32

Open christian-reichart opened 3 years ago

christian-reichart commented 3 years ago

For anybody who is encountering the same problem: I've installed this package via yarn and encountered the problem, that the custom validator for the tooltip doesn't check for false.

Apparently this is fixed in a package vue-range-component-fixed by the same author. Don't really know what's going on, there is also a package named vue-range-component-fix.

Anyway, this solved it for me: yarn add vue-range-component-fixed

omarjebari commented 3 years ago

Just remember to re-reference the package when including it (including the css file), ie

import 'vue-range-component-fixed/dist/vue-range-slider.css'; import VueRangeSlider from 'vue-range-component-fixed';

s-a-rogova commented 2 years ago

@xwpongithub Can you add this info about installation via yarn to Readme? Cause I spent much time to do it(

Guys, thank you for decision!