Update StatesDoc.vue

pull/6637/head
tugcekucukoglu 2024-10-24 09:33:42 +03:00
parent aaa13d0eed
commit 4c8dbdff0a
1 changed files with 8 additions and 8 deletions

View File

@ -5,8 +5,8 @@
<div class="card flex justify-center"> <div class="card flex justify-center">
<Form v-slot="$form" :initialValues :resolver @submit="onFormSubmit" class="grid lg:grid-cols-2 gap-4 w-full"> <Form v-slot="$form" :initialValues :resolver @submit="onFormSubmit" class="grid lg:grid-cols-2 gap-4 w-full">
<div class="flex flex-col justify-center items-center gap-4"> <div class="flex flex-col justify-center items-center gap-4">
<InputText name="username" type="text" placeholder="Username" fluid class="!sm:w-56" /> <InputText name="username" type="text" placeholder="Username" class="w-full sm:w-56" />
<Button type="submit" severity="secondary" label="Submit" fluid class="!sm:w-56" /> <Button type="submit" severity="secondary" label="Submit" class="w-full sm:w-56" />
</div> </div>
<Fieldset legend="Form States"> <Fieldset legend="Form States">
<pre class="whitespace-pre-wrap">{{ $form }}</pre> <pre class="whitespace-pre-wrap">{{ $form }}</pre>
@ -27,8 +27,8 @@ export default {
basic: ` basic: `
<Form v-slot="$form" :initialValues :resolver @submit="onFormSubmit" class="grid lg:grid-cols-2 gap-4 w-full"> <Form v-slot="$form" :initialValues :resolver @submit="onFormSubmit" class="grid lg:grid-cols-2 gap-4 w-full">
<div class="flex flex-col justify-center items-center gap-4"> <div class="flex flex-col justify-center items-center gap-4">
<InputText name="username" type="text" placeholder="Username" fluid class="!sm:w-56" /> <InputText name="username" type="text" placeholder="Username" class="w-full sm:w-56" />
<Button type="submit" severity="secondary" label="Submit" fluid class="!sm:w-56" /> <Button type="submit" severity="secondary" label="Submit" class="w-full sm:w-56" />
</div> </div>
<Fieldset legend="Form States"> <Fieldset legend="Form States">
<pre class="whitespace-pre-wrap">{{ $form }}</pre> <pre class="whitespace-pre-wrap">{{ $form }}</pre>
@ -42,8 +42,8 @@ export default {
<Form v-slot="$form" :initialValues :resolver @submit="onFormSubmit" class="grid lg:grid-cols-2 gap-4 w-full"> <Form v-slot="$form" :initialValues :resolver @submit="onFormSubmit" class="grid lg:grid-cols-2 gap-4 w-full">
<div class="flex flex-col justify-center items-center gap-4"> <div class="flex flex-col justify-center items-center gap-4">
<InputText name="username" type="text" placeholder="Username" fluid class="!sm:w-56" /> <InputText name="username" type="text" placeholder="Username" class="w-full sm:w-56" />
<Button type="submit" severity="secondary" label="Submit" fluid class="!sm:w-56" /> <Button type="submit" severity="secondary" label="Submit" class="w-full sm:w-56" />
</div> </div>
<Fieldset legend="Form States"> <Fieldset legend="Form States">
<pre class="whitespace-pre-wrap">{{ $form }}</pre> <pre class="whitespace-pre-wrap">{{ $form }}</pre>
@ -93,8 +93,8 @@ export default {
<Form v-slot="$form" :initialValues :resolver @submit="onFormSubmit" class="grid lg:grid-cols-2 gap-4 w-full"> <Form v-slot="$form" :initialValues :resolver @submit="onFormSubmit" class="grid lg:grid-cols-2 gap-4 w-full">
<div class="flex flex-col justify-center items-center gap-4"> <div class="flex flex-col justify-center items-center gap-4">
<InputText name="username" type="text" placeholder="Username" fluid class="!sm:w-56" /> <InputText name="username" type="text" placeholder="Username" class="w-full sm:w-56" />
<Button type="submit" severity="secondary" label="Submit" fluid class="!sm:w-56" /> <Button type="submit" severity="secondary" label="Submit" class="w-full sm:w-56" />
</div> </div>
<Fieldset legend="Form States"> <Fieldset legend="Form States">
<pre class="whitespace-pre-wrap">{{ $form }}</pre> <pre class="whitespace-pre-wrap">{{ $form }}</pre>