Regarding multiple display of calendar

UI Components for Vue
Post Reply
vk-it05
Posts: 1
Joined: 10 Mar 2021, 17:42

11 Mar 2021, 15:35

Hello, I'm currently trying to create an original web system using PrimeVue.
I'm having trouble with my calendar.

Currently, I am making a calendar in the following format. The code is as follows.
The problem is, if the April display was in the center of the three calendars When I clicked on the April date somewhere, the April calendar moved to the left.
This problem happens even if I have two or four calendars.
I want the calendar position to be fixed when I click on the April or May calendar.
Looking at the sample component of the PrimeVue document, it seems default setting, but is there a way to fix it?

Image
Image

The code that implements above is as follows.
Except the above problems, it works fine.

Code: Select all

      <Calendar
          id="multiplemonths"
          :numberOfMonths="3"
          @date-select="dateselect"
          v-model="date1"
          :inline="true"
          selectionMode="multiple"
      >
      </Calendar>

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests