Skip to content

Commit

Permalink
Remove Rating cancel from demos
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Jun 24, 2024
1 parent 337485d commit f40130a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions apps/showcase/doc/datatable/RowExpansionDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" />
<Rating :modelValue="slotProps.data.rating" readonly />
</template>
</Column>
<Column header="Status">
Expand Down Expand Up @@ -105,7 +105,7 @@ export default {
<Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" />
<Rating :modelValue="slotProps.data.rating" readonly />
</template>
</Column>
<Column header="Status">
Expand Down Expand Up @@ -166,7 +166,7 @@ export default {
<Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" />
<Rating :modelValue="slotProps.data.rating" readonly />
</template>
</Column>
<Column header="Status">
Expand Down Expand Up @@ -296,7 +296,7 @@ export default {
<Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" />
<Rating :modelValue="slotProps.data.rating" readonly />
</template>
</Column>
<Column header="Status">
Expand Down
8 changes: 4 additions & 4 deletions apps/showcase/doc/datatable/TemplateDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" />
<Rating :modelValue="slotProps.data.rating" readonly />
</template>
</Column>
<Column header="Status">
Expand Down Expand Up @@ -70,7 +70,7 @@ export default {
<Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" />
<Rating :modelValue="slotProps.data.rating" readonly />
</template>
</Column>
<Column header="Status">
Expand Down Expand Up @@ -105,7 +105,7 @@ export default {
<Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" />
<Rating :modelValue="slotProps.data.rating" readonly />
</template>
</Column>
<Column header="Status">
Expand Down Expand Up @@ -177,7 +177,7 @@ export default {
<Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" />
<Rating :modelValue="slotProps.data.rating" readonly />
</template>
</Column>
<Column header="Status">
Expand Down
8 changes: 4 additions & 4 deletions apps/showcase/doc/datatable/samples/ProductsDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<Column field="category" header="Category" sortable style="min-width: 10rem"></Column>
<Column field="rating" header="Reviews" sortable style="min-width: 12rem">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false" />
<Rating :modelValue="slotProps.data.rating" :readonly="true" />
</template>
</Column>
<Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem">
Expand Down Expand Up @@ -233,7 +233,7 @@ export default {
<Column field="category" header="Category" sortable style="min-width: 10rem"></Column>
<Column field="rating" header="Reviews" sortable style="min-width: 12rem">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false" />
<Rating :modelValue="slotProps.data.rating" :readonly="true" />
</template>
</Column>
<Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem">
Expand Down Expand Up @@ -305,7 +305,7 @@ export default {
<Column field="category" header="Category" sortable style="min-width: 10rem"></Column>
<Column field="rating" header="Reviews" sortable style="min-width: 12rem">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false" />
<Rating :modelValue="slotProps.data.rating" :readonly="true" />
</template>
</Column>
<Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem">
Expand Down Expand Up @@ -597,7 +597,7 @@ export default {
<Column field="category" header="Category" sortable style="min-width: 10rem"></Column>
<Column field="rating" header="Reviews" sortable style="min-width: 12rem">
<template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false" />
<Rating :modelValue="slotProps.data.rating" :readonly="true" />
</template>
</Column>
<Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem">
Expand Down
8 changes: 4 additions & 4 deletions apps/showcase/doc/rating/ReadOnlyDoc.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<p>When <i>readOnly</i> present, value cannot be edited.</p>
</DocSectionText>
<div class="card flex justify-center">
<Rating v-model="value" readonly :cancel="false" />
<Rating v-model="value" readonly />
</div>
<DocSectionCode :code="code" />
</template>
Expand All @@ -15,12 +15,12 @@ export default {
value: 3,
code: {
basic: `
<Rating v-model="value" readonly :cancel="false" />
<Rating v-model="value" readonly />
`,
options: `
<template>
<div class="card flex justify-center">
<Rating v-model="value" readonly :cancel="false" />
<Rating v-model="value" readonly />
</div>
</template>
Expand All @@ -37,7 +37,7 @@ export default {
composition: `
<template>
<div class="card flex justify-center">
<Rating v-model="value" readonly :cancel="false" />
<Rating v-model="value" readonly />
</div>
</template>
Expand Down

0 comments on commit f40130a

Please sign in to comment.