Two Primeng Calender for start date and end date

UI Components for Angular
Post Reply
winterbluebear
Posts: 1
Joined: 23 Jul 2019, 04:04

23 Jul 2019, 04:43

I have two Primeng Calendar for start date and end date.
The end date auto select the start date but when I select the end date, i still want to keep the start date "ui-state-active". So, user can see the selection of start date and end date on End Date calendar.
Does Primeng Calendar have this feature?

Regards,
Winter Bear

yigitfindikli
Posts: 335
Joined: 08 Aug 2018, 14:09

23 Jul 2019, 15:05

winterbluebear wrote:
23 Jul 2019, 04:43
I have two Primeng Calendar for start date and end date.
The end date auto select the start date but when I select the end date, i still want to keep the start date "ui-state-active". So, user can see the selection of start date and end date on End Date calendar.
Does Primeng Calendar have this feature?

Regards,
Winter Bear
Hi,
Maybe you can use range calendar or multiselect calender and maxDateCount property together. You can find more info at https://www.primefaces.org/primeng/#/calendar .

Best Regards.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests