Update FloatLabelDoc.vue

pull/4101/head^2
Tuğçe Küçükoğlu 2023-07-06 17:08:11 +03:00
parent 71d686bd2e
commit 374317689c
1 changed files with 6 additions and 3 deletions

View File

@ -22,13 +22,15 @@ export default {
code: { code: {
basic: ` basic: `
<span class="p-float-label"> <span class="p-float-label">
<TreeSelect v-model="selectedValue" :options="nodes" placeholder="TreeSelect" /> <TreeSelect v-model="selectedValue" :options="nodes" class="md:w-20rem w-full" />
<label>Tree Select</label>
</span>`, </span>`,
options: ` options: `
<template> <template>
<div class="card flex justify-content-center"> <div class="card flex justify-content-center">
<span class="p-float-label"> <span class="p-float-label">
<TreeSelect v-model="selectedValue" :options="nodes" placeholder="TreeSelect" /> <TreeSelect v-model="selectedValue" :options="nodes" class="md:w-20rem w-full" />
<label>Tree Select</label>
</span> </span>
</div> </div>
</template> </template>
@ -52,7 +54,8 @@ export default {
<template> <template>
<div class="card flex justify-content-center"> <div class="card flex justify-content-center">
<span class="p-float-label"> <span class="p-float-label">
<TreeSelect v-model="selectedValue" :options="nodes" placeholder="TreeSelect" /> <TreeSelect v-model="selectedValue" :options="nodes" class="md:w-20rem w-full" />
<label>Tree Select</label>
</span> </span>
</div> </div>
</template> </template>