use form area

This commit is contained in:
Hayden 2022-09-25 13:48:50 -08:00
parent 679ba416f2
commit a85e780ea2
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
:autofocus="true" :autofocus="true"
label="Label Name" label="Label Name"
/> />
<FormTextField v-model="form.description" label="Label Description" /> <FormTextArea v-model="form.description" label="Label Description" />
<div class="modal-action"> <div class="modal-action">
<BaseButton type="submit" :loading="loading"> Create </BaseButton> <BaseButton type="submit" :loading="loading"> Create </BaseButton>
</div> </div>

View file

@ -113,7 +113,7 @@
<template #title> Update Label </template> <template #title> Update Label </template>
<form v-if="label" @submit.prevent="update"> <form v-if="label" @submit.prevent="update">
<FormTextField v-model="updateData.name" :autofocus="true" label="Label Name" /> <FormTextField v-model="updateData.name" :autofocus="true" label="Label Name" />
<FormTextField v-model="updateData.description" label="Label Description" /> <FormTextArea v-model="updateData.description" label="Label Description" />
<div class="modal-action"> <div class="modal-action">
<BaseButton type="submit" :loading="updating"> Update </BaseButton> <BaseButton type="submit" :loading="updating"> Update </BaseButton>
</div> </div>