p-calendar accepting invalid dates (in India only)

UI Components for Angular
Post Reply
wittml
Posts: 3
Joined: 07 Aug 2017, 19:56

15 Nov 2017, 16:14

We have p-calendar in use like this:

Code: Select all

          <p-calendar [(ngModel)]="endDate" [showTime]="true" appendTo="body"></p-calendar>
Very simple. On my dev box and on our demo box it works fine. But in the test environment, in India, it will accept invalid dates. For example, if I type in "abc" it gets accepted. Any known reason why this might happen (and how to prevent)?

merve7
Posts: 861
Joined: 12 Sep 2017, 10:44

24 Nov 2017, 14:40

What is type of "endDate" variable?

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests