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

534 B

state
state
input
7

Change max values

You can change the max value of the rating component by using the max prop which defaults to 5.

<script setup lang="ts">

const input = ref(2)
</script>

<template>
  <VField>
    <VControl>
      <VRangeRating v-model="input" :max="10" />
    </VControl>
  </VField>
</template>