1 Reply
<UForm :validate="validate" :state="state" class="space-y-4" @submit.stop.prevent="onSubmit">
<UFormGroup :label="$t('form.input.email')+'*'" name="email">
<UInput v-model="state.email" />
</UFormGroup>
<UFormGroup :label="$t('form.input.password')+'*'" name="password">
<UInput v-model="state.password" type="password" />
</UFormGroup>
<UButton :label="$t('form.button.register')" type="submit" block />
</UForm>
<UForm :validate="validate" :state="state" class="space-y-4" @submit.stop.prevent="onSubmit">
<UFormGroup :label="$t('form.input.email')+'*'" name="email">
<UInput v-model="state.email" />
</UFormGroup>
<UFormGroup :label="$t('form.input.password')+'*'" name="password">
<UInput v-model="state.password" type="password" />
</UFormGroup>
<UButton :label="$t('form.button.register')" type="submit" block />
</UForm>