@@ -71,7 +71,7 @@
<Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews">
<template #body="slotProps">
- <Rating :value="slotProps.data.rating" :readonly="true" :cancel="false" />
+ <Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false" />
</template>
</Column>
<Column header="Status">
diff --git a/src/views/dataview/DataViewDemo.vue b/src/views/dataview/DataViewDemo.vue
index a803675a3..3d54901ff 100755
--- a/src/views/dataview/DataViewDemo.vue
+++ b/src/views/dataview/DataViewDemo.vue
@@ -28,7 +28,7 @@
{{slotProps.data.name}}
{{slotProps.data.description}}
-
+
{{slotProps.data.category}}
@@ -54,7 +54,7 @@
{{slotProps.data.name}}
{{slotProps.data.description}}
-
+
${{slotProps.data.price}}
diff --git a/src/views/dataview/DataViewDoc.vue b/src/views/dataview/DataViewDoc.vue
index cede978b1..0a4268886 100755
--- a/src/views/dataview/DataViewDoc.vue
+++ b/src/views/dataview/DataViewDoc.vue
@@ -440,7 +440,7 @@ export default {
<div class="product-list-detail">
<div class="product-name">{{slotProps.data.name}}</div>
<div class="product-description">{{slotProps.data.description}}</div>
- <Rating :value="slotProps.data.rating" :readonly="true" :cancel="false"></Rating>
+ <Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false"></Rating>
<i class="pi pi-tag product-category-icon"></i><span class="product-category">{{slotProps.data.category}}</span>
</div>
<div class="product-list-action">
@@ -466,7 +466,7 @@ export default {
<img :src="'demo/images/product/' + slotProps.data.image" :alt="slotProps.data.name"/>
<div class="product-name">{{slotProps.data.name}}</div>
<div class="product-description">{{slotProps.data.description}}</div>
- <Rating :value="slotProps.data.rating" :readonly="true" :cancel="false"></Rating>
+ <Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false"></Rating>
</div>
<div class="product-grid-item-bottom">
<span class="product-price">${{slotProps.data.price}}</span>
diff --git a/src/views/rating/RatingDemo.vue b/src/views/rating/RatingDemo.vue
index 1c5aee05b..2f6e0e7fe 100755
--- a/src/views/rating/RatingDemo.vue
+++ b/src/views/rating/RatingDemo.vue
@@ -16,10 +16,10 @@
ReadOnly
-
+
Disabled
-
+
diff --git a/src/views/rating/RatingDoc.vue b/src/views/rating/RatingDoc.vue
index 8ee4cf42f..99ab7ff8e 100755
--- a/src/views/rating/RatingDoc.vue
+++ b/src/views/rating/RatingDoc.vue
@@ -149,10 +149,10 @@ import Rating from 'primevue/rating';
<Rating v-model="val2" :cancel="false" />
<h3>ReadOnly</h3>
-<Rating :value="5" :readonly="true" :stars="10" :cancel="false" />
+<Rating :modelValue="5" :readonly="true" :stars="10" :cancel="false" />
<h3>Disabled</h3>
-<Rating :value="8" :disabled="true" :stars="10" />
+<Rating :modelValue="8" :disabled="true" :stars="10" />