Files
oa/documentation/elements/forms/range-rating/range-rating-label-documentation.md
2025-05-24 01:49:48 +09:00

563 B

state
state
input
7

Accessible label

To add a label to the rating component, use the label prop. You can also use the label slot to customize the label.

<script setup lang="ts">

const input = ref(2)
</script>

<template>
  <VField>
    <VControl>
      <VRangeRating v-model="input" label="Rating" />
    </VControl>
  </VField>
</template>