Fixed application form error #186

Merged
Ajdj100 merged 2 commits from Fixed-critical-application-form-bug into main 2026-02-06 22:55:32 -06:00
Showing only changes of commit 59783ee93a - Show all commits

View File

@@ -135,7 +135,7 @@ function convertToAge(dob: string) {
<FormControl>
<template class="flex items-center gap-10">
<DateInput :model-value="(value as string) ?? ''" :disabled="readOnly" @update:model-value="handleChange" />
<p v-if="value != undefined" class="text-muted-foreground">Age: {{ convertToAge(value) }}</p>
<p v-if="props.readOnly" class="text-muted-foreground">Age: {{ convertToAge(value) }}</p>
</template>
</FormControl>
<div class="h-4">