NightCatSama/vue-slider-component

props data-label dont work

Form1ca opened this issue · 2 comments

Describe the bug

data-label dont work

data= array of object


            :data='[ { "value": "750d618a-b240-4858-bb47-a316eb5b41a4", "label": "1" }, { "value": "5bed9288-b5a3-459a-a0a8-06d742c5d83c", "label": "2" }, { "value": "896d8d23-fbd7-417e-b6c6-7b99c3890dae", "label": "3" }, { "value": "d79d45f5-a775-432e-b706-85a28e1473ce", "label": "4" } ]'
            :marks="true"
            class="rate-vue-slider"
            :data-value="'value'"
            :data-label="'label'"
            tooltip="none"

:data-label="'label'" - dont work with any value
:data-value="'value'" - its work as label column and result

Additional context (If there is no relevant content, please delete the block)

"vue-slider-component": "^3.2.14",

Environment (If you feel unrelated, please delete the block)

  • OS & Version: [e.g. macOS, Windows, Linux]
  • Vue version: [e.g. v2.0, v2.5, v2.6]
  • Component Version: [e.g. v3.0.2]

@Form1ca did you fix this?

remove :marks="true"