Hi,
Can you please check why fullcalendar is throwing errors:
Error in 3.9.0/dist/fullcalendar.js (9400:21)
el.addClass is not a function
Please check https://stackblitz.com/edit/react-hsha9 ... uleDemo.js - I just copy-pasted code from the page https://www.primefaces.org/primereact/#/schedule and updated dependencies.
I suspect it's fullcalendar issue .. Can you please check and confirm?
Thanks!!
VB
ScheduleDemo fails with primereact 2.0.0-beta.3
I updated dependency to "fullcalendar": "^4.0.0-alpha" .. no errors anymore but calendar was totally broken (styles were missing).
I added "import 'fullcalendar/dist/fullcalendar.css';" in my App.js and got another error (e is undefined).
Only after I installed jQuery as well, calendar start working as expected:
https://stackblitz.com/edit/react-hsha9 ... uleDemo.js
I guess you should update docs to inlcude this info.
Hope it helps,
VB
I added "import 'fullcalendar/dist/fullcalendar.css';" in my App.js and got another error (e is undefined).
Only after I installed jQuery as well, calendar start working as expected:
https://stackblitz.com/edit/react-hsha9 ... uleDemo.js
I guess you should update docs to inlcude this info.
Hope it helps,
VB
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
That is strange because Schedule uses FullCalendar 4 which does not use jQuery, the live demo has no jQuery;
https://www.primefaces.org/primereact/#/schedule
Docs contain detailed information about setup like imports, necessary CSS and so on.
https://www.primefaces.org/primereact/#/schedule
Docs contain detailed information about setup like imports, necessary CSS and so on.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 10 guests