aboutsummaryrefslogtreecommitdiff
path: root/src/components/registration/registration.vue
diff options
context:
space:
mode:
authortusooa <tusooa@kazv.moe>2023-01-22 11:22:24 -0500
committertusooa <tusooa@kazv.moe>2023-01-22 11:22:24 -0500
commit03d5c2e140fc70937d3533665fa88d055ab486f1 (patch)
treea0261722a8dba758ccc0786fe4ef88e40b907b1e /src/components/registration/registration.vue
parentdd97a23ce70fc564d3142eb9d218ff1a929107b1 (diff)
Make date picker aware of the birthday max value
Diffstat (limited to 'src/components/registration/registration.vue')
-rw-r--r--src/components/registration/registration.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue
index 6d7fe76e..5701b05e 100644
--- a/src/components/registration/registration.vue
+++ b/src/components/registration/registration.vue
@@ -183,7 +183,7 @@
:disabled="isPending"
class="form-control"
type="date"
- max="birthdayMin"
+ :max="birthdayRequired ? birthdayMinAttr : undefined"
:aria-required="birthdayRequired"
>
</div>