We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I cannot use Calendar with the onViewDateChange property. An exception is immediately thrown.
[x] bug report
Current behavior TypeError: Cannot read property 'getMonth' of null Calendar.renderDateView C:/Dev/RE_Project/Frontier-Risk-Web/node_modules/primereact/calendar/calendar.esm.js:3124 3121 | key: "renderDateView", 3122 | value: function renderDateView() { 3123 | var viewDate = this.getViewDate();
3124 | var monthsMetaData = this.createMonths(viewDate.getMonth(), viewDate.getFullYear()); | ^ 3125 | var months = this.renderMonths(monthsMetaData); 3126 | return /#PURE/React.createElement(React.Fragment, null, months); 3127 | }
Expected behavior No Exception
Minimal reproduction of the problem with instructions <Calendar onViewDateChange={() => {}} />
React version: v16.13.1
PrimeReact version: v6.5.1
Browser: [Chrome]
Language: [all]
The text was updated successfully, but these errors were encountered:
fc6b571
mertsincan
No branches or pull requests
Hi, I cannot use Calendar with the onViewDateChange property. An exception is immediately thrown.
Current behavior
TypeError: Cannot read property 'getMonth' of null
Calendar.renderDateView
C:/Dev/RE_Project/Frontier-Risk-Web/node_modules/primereact/calendar/calendar.esm.js:3124
3121 | key: "renderDateView",
3122 | value: function renderDateView() {
3123 | var viewDate = this.getViewDate();
Expected behavior
No Exception
Minimal reproduction of the problem with instructions
<Calendar onViewDateChange={() => {}} />
React version:
v16.13.1
PrimeReact version:
v6.5.1
Browser: [Chrome]
Language: [all]
The text was updated successfully, but these errors were encountered: