V-calendar: Duplicate keys detected: 'T'

Created on 16 Dec 2017  路  4Comments  路  Source: nathanreyes/v-calendar

Hello,
I am getting a bunch of warnings 'Duplicate keys detected: 'T'. This may cause an update error.' when trying to render v-calendar.
image

image

I am wrapping it with NoSSR, because the app is rendered on server. And registering v-calendar component globally in the beforeMount hook

image

May be I should not register it globally in beforeMount hook and import directly the calendar?
Thank you.

bug

Most helpful comment

Oh ok. I will make a note to use the weekday position as the key instead of its label. Thanks for the input.

All 4 comments

Honestly, it may be a while until I can properly test for server rendered environments. Please feel free to provide any input or testing you can, but until then I'll file this as 'help-wanted'.

My apologies...just want to be straight-forward about it until I can investigate what is required for components in general to make them compatible with server rendered apps.

Hi,
I found the problem.

Line 97-98 in CalendarPane.
Key if dupliquer if two day start with same letter.

Oh ok. I will make a note to use the weekday position as the key instead of its label. Thanks for the input.

Have the same issue. Looking forward to fixing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Maadtin picture Maadtin  路  3Comments

eafomi4ev picture eafomi4ev  路  3Comments

Nadavrbn picture Nadavrbn  路  3Comments

knagyorg picture knagyorg  路  4Comments

miralize picture miralize  路  4Comments