SyntaxFix
Write A Post
Hire A Developer
Questions
Change maxDate to current date
maxDate: new Date()
It will set current date as maximum value.