Update demo code

pull/6447/head
Cagatay Civici 2024-09-20 09:46:10 +03:00
parent ae32e74030
commit bc321b29f9
1 changed files with 16 additions and 16 deletions

View File

@ -4,13 +4,13 @@
</DocSectionText>
<div class="card flex flex-wrap justify-center gap-4">
<FloatLabel variant="in">
<InputText id="inlabel" v-model="value1" autocomplete="off" />
<label for="inlabel">In Label</label>
<InputText id="in_label" v-model="value1" autocomplete="off" />
<label for="in_label">In Label</label>
</FloatLabel>
<FloatLabel variant="on">
<InputText id="onlabel" v-model="value2" autocomplete="off" />
<label for="onlabel">On Label</label>
<InputText id="on_label" v-model="value2" autocomplete="off" />
<label for="on_label">On Label</label>
</FloatLabel>
</div>
<DocSectionCode :code="code" />
@ -25,26 +25,26 @@ export default {
code: {
basic: `
<FloatLabel variant="in">
<InputText id="inlabel" v-model="value1" />
<label for="inlabel">In Label</label>
<InputText id="in_label" v-model="value1" autocomplete="off" />
<label for="in_label">In Label</label>
</FloatLabel>
<FloatLabel variant="on">
<InputText id="onlabel" v-model="value2" />
<label for="onlabel">On Label</label>
<InputText id="on_label" v-model="value2" autocomplete="off" />
<label for="on_label">On Label</label>
</FloatLabel>
`,
options: `
<template>
<div class="card flex flex-wrap justify-center gap-4">
<FloatLabel variant="in">
<InputText id="inlabel" v-model="value1" />
<label for="inlabel">In Label</label>
<InputText id="in_label" v-model="value1" autocomplete="off" />
<label for="in_label">In Label</label>
</FloatLabel>
<FloatLabel variant="on">
<InputText id="onlabel" v-model="value2" />
<label for="onlabel">On Label</label>
<InputText id="on_label" v-model="value2" autocomplete="off" />
<label for="on_label">On Label</label>
</FloatLabel>
</div>
</template>
@ -65,13 +65,13 @@ export default {
<template>
<div class="card flex flex-wrap justify-center gap-4">
<FloatLabel variant="in">
<InputText id="inlabel" v-model="value1" />
<label for="inlabel">In Label</label>
<InputText id="in_label" v-model="value1" autocomplete="off" />
<label for="in_label">In Label</label>
</FloatLabel>
<FloatLabel variant="on">
<InputText id="onlabel" v-model="value2" />
<label for="onlabel">On Label</label>
<InputText id="on_label" v-model="value2" autocomplete="off" />
<label for="on_label">On Label</label>
</FloatLabel>
</div>
</template>