Community > Discussions
14 views
1 replies

How to Add A Max Date to the DatePicker?

Is there a way to add a max date to the datepicker?

MAYACO MAYACO
Published 02/05/2024 23:28
Add Comment
Gagandeep Singh

There is no option for it at this time. You can achieve it by using following script if you have knowledge of javascript/jQuery.

$(".selector" ).datepicker({
  maxDate: new Date()
});

replied 02/06/2024 13:00

Last Activity 02/06/2024 13:00