[vue3.x] [Vue warn]: Invalid prop: custom validator check failed for prop "tooltipPlacement".
whipsterCZ opened this issue · 4 comments
whipsterCZ commented
VueSlider works just fine, but i have console and log filled with warning
[Vue warn]: Invalid prop: custom validator check failed for prop "tooltipPlacement".
<VueSlider
v-model="period"
tooltip="always"
tooltip-placement="bottom"
:tooltip-formatter="periodTooltipFormatter"
:min="1"
:max="10"
:interval="1"
></VueSlider>
Additional context
- OS & Version: [ macOS monterey]
- Vue version: [v3.2.37]
- Nuxt version: [3.0.0-rc.1]
- Component Version: [e.g. v4.0.0-beta.8]
whipsterCZ commented
i have tried these with same result
tooltip-placement="top"
tooltip-placement="left"
:tooltip-placement="placement" (ref)
:tooltip-placement="['bottom']"
NightCatSama commented
Thanks for your feedback, it's fixed in the latest version.
Aybee5 commented
@whipsterCZ how did you register the component please?
whipsterCZ commented
i dont understand the question. it depends on Vue version and whether you use CompositiontApi or OptionApi..