From 03d5c2e140fc70937d3533665fa88d055ab486f1 Mon Sep 17 00:00:00 2001 From: tusooa Date: Sun, 22 Jan 2023 11:22:24 -0500 Subject: Make date picker aware of the birthday max value --- src/components/registration/registration.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/registration/registration.vue') 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" > -- cgit v1.2.3-70-g09d2