Demo cosmetics

pull/6439/head
Cagatay Civici 2024-09-18 13:23:01 +03:00
parent ba4fbe91f1
commit 14a5cffd69
2 changed files with 9 additions and 9 deletions

View File

@ -2,7 +2,7 @@
<DocSectionText v-bind="$attrs">
<p>When the form element is invalid, the label is also highlighted.</p>
</DocSectionText>
<div class="card flex justify-center items-center gap-4">
<div class="card flex justify-center items-end gap-4">
<FloatLabel>
<InputText id="value1" v-model="value1" autocomplete="off" :invalid="!value1" />
<label for="value1">Username</label>
@ -47,7 +47,7 @@ export default {
`,
options: `
<template>
<div class="card flex justify-center items-center gap-4">
<div class="card flex justify-center items-end gap-4">
<FloatLabel>
<InputText id="value1" v-model="value1" :invalid="!value1" />
<label for="value1">Username</label>
@ -80,7 +80,7 @@ export default {
`,
composition: `
<template>
<div class="card flex justify-center items-center gap-4">
<div class="card flex justify-center items-end gap-4">
<FloatLabel>
<InputText id="value1" v-model="value1" :invalid="!value1" />
<label for="value1">Username</label>
@ -101,9 +101,9 @@ export default {
<script setup>
import { ref } from 'vue';
const value1 = ref(null);
const value2 = ref(null);
const value3 = ref(null);
const value1 = ref('');
const value2 = ref('');
const value3 = ref('');
<\/script>
`
}

View File

@ -19,7 +19,7 @@ export default {
code: {
basic: `
<IftaLabel>
<InputText id="username" v-model="value" autocomplete="off" />
<InputText id="username" v-model="value" />
<label for="username">Username</label>
</IftaLabel>
`,
@ -27,7 +27,7 @@ export default {
<template>
<div class="card flex justify-center">
<IftaLabel>
<InputText id="username" v-model="value" autocomplete="off" />
<InputText id="username" v-model="value" />
<label for="username">Username</label>
</IftaLabel>
</div>
@ -48,7 +48,7 @@ export default {
<template>
<div class="card flex justify-center">
<IftaLabel>
<InputText id="username" v-model="value" autocomplete="off" />
<InputText id="username" v-model="value" />
<label for="username">Username</label>
</IftaLabel>
</div>