rajeshwarpatlolla/ionic-datepicker

Cannot disable today's date

kofronpi opened this issue · 2 comments

Hi,

I have two problems :

I am not able to disable today's date in the datepicker:

$scope.disabledDates = [
     new Date()
];

Today's date can still be picked.

  1. Because I do not want users to be able to select today's date, is there a way to remove the "today" button with a directive ?

Thank you for your help !

Please use the new version i.e. v0.7.0 This bug has been fixed.

Thanks for your hard work ! 👍