Remove Rating cancel from demos

active-menu
tugcekucukoglu 2024-06-24 11:52:05 +03:00
parent 337485de90
commit f40130a74c
4 changed files with 16 additions and 16 deletions

View File

@ -33,7 +33,7 @@
<Column field="category" header="Category"></Column> <Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews"> <Column field="rating" header="Reviews">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" /> <Rating :modelValue="slotProps.data.rating" readonly />
</template> </template>
</Column> </Column>
<Column header="Status"> <Column header="Status">
@ -105,7 +105,7 @@ export default {
<Column field="category" header="Category"></Column> <Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews"> <Column field="rating" header="Reviews">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" /> <Rating :modelValue="slotProps.data.rating" readonly />
</template> </template>
</Column> </Column>
<Column header="Status"> <Column header="Status">
@ -166,7 +166,7 @@ export default {
<Column field="category" header="Category"></Column> <Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews"> <Column field="rating" header="Reviews">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" /> <Rating :modelValue="slotProps.data.rating" readonly />
</template> </template>
</Column> </Column>
<Column header="Status"> <Column header="Status">
@ -296,7 +296,7 @@ export default {
<Column field="category" header="Category"></Column> <Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews"> <Column field="rating" header="Reviews">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" /> <Rating :modelValue="slotProps.data.rating" readonly />
</template> </template>
</Column> </Column>
<Column header="Status"> <Column header="Status">

View File

@ -25,7 +25,7 @@
<Column field="category" header="Category"></Column> <Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews"> <Column field="rating" header="Reviews">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" /> <Rating :modelValue="slotProps.data.rating" readonly />
</template> </template>
</Column> </Column>
<Column header="Status"> <Column header="Status">
@ -70,7 +70,7 @@ export default {
<Column field="category" header="Category"></Column> <Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews"> <Column field="rating" header="Reviews">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" /> <Rating :modelValue="slotProps.data.rating" readonly />
</template> </template>
</Column> </Column>
<Column header="Status"> <Column header="Status">
@ -105,7 +105,7 @@ export default {
<Column field="category" header="Category"></Column> <Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews"> <Column field="rating" header="Reviews">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" /> <Rating :modelValue="slotProps.data.rating" readonly />
</template> </template>
</Column> </Column>
<Column header="Status"> <Column header="Status">
@ -177,7 +177,7 @@ export default {
<Column field="category" header="Category"></Column> <Column field="category" header="Category"></Column>
<Column field="rating" header="Reviews"> <Column field="rating" header="Reviews">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" readonly :cancel="false" /> <Rating :modelValue="slotProps.data.rating" readonly />
</template> </template>
</Column> </Column>
<Column header="Status"> <Column header="Status">

View File

@ -56,7 +56,7 @@
<Column field="category" header="Category" sortable style="min-width: 10rem"></Column> <Column field="category" header="Category" sortable style="min-width: 10rem"></Column>
<Column field="rating" header="Reviews" sortable style="min-width: 12rem"> <Column field="rating" header="Reviews" sortable style="min-width: 12rem">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false" /> <Rating :modelValue="slotProps.data.rating" :readonly="true" />
</template> </template>
</Column> </Column>
<Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem"> <Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem">
@ -233,7 +233,7 @@ export default {
<Column field="category" header="Category" sortable style="min-width: 10rem"></Column> <Column field="category" header="Category" sortable style="min-width: 10rem"></Column>
<Column field="rating" header="Reviews" sortable style="min-width: 12rem"> <Column field="rating" header="Reviews" sortable style="min-width: 12rem">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false" /> <Rating :modelValue="slotProps.data.rating" :readonly="true" />
</template> </template>
</Column> </Column>
<Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem"> <Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem">
@ -305,7 +305,7 @@ export default {
<Column field="category" header="Category" sortable style="min-width: 10rem"></Column> <Column field="category" header="Category" sortable style="min-width: 10rem"></Column>
<Column field="rating" header="Reviews" sortable style="min-width: 12rem"> <Column field="rating" header="Reviews" sortable style="min-width: 12rem">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false" /> <Rating :modelValue="slotProps.data.rating" :readonly="true" />
</template> </template>
</Column> </Column>
<Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem"> <Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem">
@ -597,7 +597,7 @@ export default {
<Column field="category" header="Category" sortable style="min-width: 10rem"></Column> <Column field="category" header="Category" sortable style="min-width: 10rem"></Column>
<Column field="rating" header="Reviews" sortable style="min-width: 12rem"> <Column field="rating" header="Reviews" sortable style="min-width: 12rem">
<template #body="slotProps"> <template #body="slotProps">
<Rating :modelValue="slotProps.data.rating" :readonly="true" :cancel="false" /> <Rating :modelValue="slotProps.data.rating" :readonly="true" />
</template> </template>
</Column> </Column>
<Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem"> <Column field="inventoryStatus" header="Status" sortable style="min-width: 12rem">

View File

@ -3,7 +3,7 @@
<p>When <i>readOnly</i> present, value cannot be edited.</p> <p>When <i>readOnly</i> present, value cannot be edited.</p>
</DocSectionText> </DocSectionText>
<div class="card flex justify-center"> <div class="card flex justify-center">
<Rating v-model="value" readonly :cancel="false" /> <Rating v-model="value" readonly />
</div> </div>
<DocSectionCode :code="code" /> <DocSectionCode :code="code" />
</template> </template>
@ -15,12 +15,12 @@ export default {
value: 3, value: 3,
code: { code: {
basic: ` basic: `
<Rating v-model="value" readonly :cancel="false" /> <Rating v-model="value" readonly />
`, `,
options: ` options: `
<template> <template>
<div class="card flex justify-center"> <div class="card flex justify-center">
<Rating v-model="value" readonly :cancel="false" /> <Rating v-model="value" readonly />
</div> </div>
</template> </template>
@ -37,7 +37,7 @@ export default {
composition: ` composition: `
<template> <template>
<div class="card flex justify-center"> <div class="card flex justify-center">
<Rating v-model="value" readonly :cancel="false" /> <Rating v-model="value" readonly />
</div> </div>
</template> </template>