Fixed OrderList demo

pull/6275/head^2
Cagatay Civici 2024-10-01 15:03:31 +03:00
parent d8f1f6d269
commit c8ecf64355
1 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<p>OrderList requires an array as its value bound with the <i>v-model</i> directive and <i>option</i> template for its content.</p>
</DocSectionText>
<div class="card sm:flex sm:justify-center">
<OrderList v-model="products" dataKey="id" breakpoint="575px" pt:pcList:root="w-full sm:w-56">
<OrderList v-model="products" dataKey="id" breakpoint="575px" pt:pcListbox:root="w-full sm:w-56">
<template #option="{ option }">
{{ option.name }}
</template>
@ -21,7 +21,7 @@ export default {
products: null,
code: {
basic: `
<OrderList v-model="products" dataKey="id" breakpoint="575px" pt:pcList:root="w-full sm:w-56">
<OrderList v-model="products" dataKey="id" breakpoint="575px" pt:pcListbox:root="w-full sm:w-56">
<template #option="{ option }">
{{ option.name }}
</template>
@ -30,7 +30,7 @@ export default {
options: `
<template>
<div class="card sm:flex sm:justify-center">
<OrderList v-model="products" dataKey="id" breakpoint="575px" pt:pcList:root="w-full sm:w-56">
<OrderList v-model="products" dataKey="id" breakpoint="575px" pt:pcListbox:root="w-full sm:w-56">
<template #option="{ option }">
{{ option.name }}
</template>
@ -55,7 +55,7 @@ export default {
composition: `
<template>
<div class="card sm:flex sm:justify-center">
<OrderList v-model="products" dataKey="id" breakpoint="575px" pt:pcList:root="w-full sm:w-56">
<OrderList v-model="products" dataKey="id" breakpoint="575px" pt:pcListbox:root="w-full sm:w-56">
<template #option="{ option }">
{{ option.name }}
</template>