p-calendar - defaultDate doesn't seem to be working

UI Components for Angular
Post Reply
dojovalumannel
Posts: 2
Joined: 23 Nov 2016, 04:39

23 Nov 2016, 05:00

In p-calendar, the defaultDate doesn't seem to be working.

I am trying to load p-calendar with an value that comes from database or with a fixed value. I tried using several formats of the dates, none of them worked but gave me an error : date.getMonth is not a function

Any help is appreciated.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 24 guests