@nermeennasim
Posted
what year did you put in? 2012,2013 ,2017 day I chose was 31st Nov to check, 31 April and 29th Feb it should give etror what age did it give you? 10years something, 9years something, then 6 years something, which browser are you using? Chrome browser
@ArthurWiliams
Posted
Thank you for your feedback.
I tried to replicate the problem in Chrome and I tried all the dates you have given me.
Dates that don't have 31 days like: Nov 31, Apr 31 and June 31 all display proper errors.
But dates like Feb 29, 2012 don't display errors because that year is a leap year.
I plan to improve the way validation is done so hopefully the issue will be solved.
If anyone else experiences this issue please, do post about it. Or better yet open an issue on this solution's repo and send a screenshot of the issue.
@nermeennasim Thank you and sorry if I was annoying.
Edit: after testing this with some friends, you are right! It does not show errors with my friends but it does with me. This is very weird.