Update 04_HelpWifeBirthForm.vue

แก้ไข validateForm
This commit is contained in:
AnandaTon 2023-11-09 14:07:09 +07:00
parent d6b9804b41
commit e850f4fd8a

View file

@ -135,8 +135,8 @@ function onValidate() {
<div class="col-md-3 col-sm-12">
<q-input
class="col-12 col-sm-12"
ref="leaveNoRef"
for="leaveNoRef"
ref="wifeNameRef"
for="wifeNameRef"
dense
outlined
v-model="formData.wifeName"
@ -167,8 +167,8 @@ function onValidate() {
<q-input
outlined
dense
ref="startLeaveDateNoRef"
for="startLeaveDateNoRef"
ref="brithDateRef"
for="brithDateRef"
hide-bottom-space
:readonly="!edit"
class="full-width datepicker"
@ -204,8 +204,8 @@ function onValidate() {
<q-input
outlined
dense
ref="startLeaveDateNoRef"
for="startLeaveDateNoRef"
ref="startLeaveDateRef"
for="startLeaveDateRef"
hide-bottom-space
:readonly="!edit"
class="full-width datepicker"
@ -334,10 +334,10 @@ function onValidate() {
</q-card>
</div>
</div>
<q-separator class="q-mt-sm" />
<div class="row col-12 q-pt-md">
<q-space />
<q-btn id="onSubmit" type="submit" unelevated dense class="q-px-md items-center btnBlue" label="บันทึก" />
</div>
</form>
<q-separator class="q-mt-sm" />
<div class="row col-12 q-pt-md">
<q-space />
<q-btn id="onSubmit" type="submit" unelevated dense class="q-px-md items-center btnBlue" label="บันทึก" />
</div>
</template>