Open saibbyweb opened 3 years ago
As mentioned above, it works fine when used in RadListView component:
<RadListView for="rating in ratings">
<v-template>
<FlexboxLayout class="center">
<StarRating v-model="rating.value" size="50" fillColor="#feed03"
@ratingSelected="rating.value = $event" />
</FlexboxLayout>
</v-template>
</RadListView>
and the script would be:
export default {
data() {
return {
ratings: [{value: 3}]
}
}
}
I hope there's fix available.
Tapping on the star does fire @ratingSeleceted event with correct value but it does not update the UI properly. It throws a warning in the console:
My usage:
Strangely enough, it works perfectly fine when used inside a RadListView component?