Reputation: 265
I am using mydatepicker package of angular 2.
I have to disable dates before 01-01-1995
& disable dates after 31-12-2005
means date range should between 01-01-1995 to 31-12-2005. I used disableSince
& disableUntil
property of the datepicker.
Dates before & after from above range are disabled; but the calendar displays the current month & year I have to start the year from January 1995 on a calendar.
If I set to default date it displays in the placeholder; but I don't want to display the date in the placeholder but set the default date January 1995.
Upvotes: 0
Views: 476