Make date picker aware of the birthday max value

This commit is contained in:
tusooa 2023-01-22 11:22:24 -05:00
commit 03d5c2e140
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
2 changed files with 4 additions and 1 deletions

View file

@ -183,7 +183,7 @@
:disabled="isPending"
class="form-control"
type="date"
max="birthdayMin"
:max="birthdayRequired ? birthdayMinAttr : undefined"
:aria-required="birthdayRequired"
>
</div>