Vuetify: [Feature Request] v-rating Rules Validation

Created on 20 Apr 2020  路  2Comments  路  Source: vuetifyjs/vuetify

Problem to solve

Unable to validate whether the v-rating question has been answered by the user

Proposed solution

Accepts an array of functions that take an input value as an argument and return either true / false or a string with an error message

VRating feature

Most helpful comment

You can just use the v-input as a wrapper to add validation:

<v-input :value="value" :rules="rules">
  <v-rating v-model="value" />
</v-input>

All 2 comments

It's a good idea, I need this too.

You can just use the v-input as a wrapper to add validation:

<v-input :value="value" :rules="rules">
  <v-rating v-model="value" />
</v-input>
Was this page helpful?
0 / 5 - 0 ratings