Ayoub RABIE• 430
@Ayoubrabiae
Posted
Hi,
I noticed that your app is doing a good job, but when I checked it, I noticed something. It's okay to be able to choose the current date, which can be normal sometimes (for someone born today 😅), but the problem is I can choose a date in the future. For example, today is 10/23/2023, and I can select 11/30/2024.
I think you should solve this issue by using date methods like new Date().getFullYear()
.
If you need any help, I'm here to assist you.
Happy coding!
Marked as helpful
0