Skip to content

Commit

Permalink
Fix primefaces#4259: Calendar unique month key for multiple months
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Apr 20, 2023
1 parent 8ff08d8 commit e8a7df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/calendar/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -2821,7 +2821,7 @@ export const Calendar = React.memo(

const dateViewGrid = createDateViewGrid(monthMetaData, weekDays, index);
const header = props.headerTemplate ? props.headerTemplate() : null;
const monthKey = monthMetaData.month + "-" + monthMetaData.year;
const monthKey = monthMetaData.month + '-' + monthMetaData.year;

return (
<div key={monthKey} className="p-datepicker-group">
Expand Down

0 comments on commit e8a7df3

Please sign in to comment.