mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-30 03:38:54 +01:00
playground(form): clean
This commit is contained in:
@@ -49,13 +49,7 @@ function onSubmit(event: FormSubmitEvent<Schema>) {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<UForm
|
<UForm ref="form" :state="state" :schema="schema" class="gap-4 flex flex-col w-60" @submit="onSubmit">
|
||||||
ref="form"
|
|
||||||
:state="state"
|
|
||||||
:schema="schema"
|
|
||||||
class="gap-4 flex flex-col w-60"
|
|
||||||
@submit="onSubmit"
|
|
||||||
>
|
|
||||||
<UFormField label="Input" name="input">
|
<UFormField label="Input" name="input">
|
||||||
<UInput v-model="state.input" placeholder="john@lennon.com" />
|
<UInput v-model="state.input" placeholder="john@lennon.com" />
|
||||||
</UFormField>
|
</UFormField>
|
||||||
|
|||||||
Reference in New Issue
Block a user