ScheduleDemo fails with primereact 2.0.0-beta.3

UI Components for React
Post Reply
Posts: 6
Joined: 25 Jun 2018, 05:22

10 Sep 2018, 06:45


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 ... uleDemo.js - I just copy-pasted code from the page and updated dependencies.

I suspect it's fullcalendar issue .. Can you please check and confirm?


Posts: 603
Joined: 12 Sep 2017, 10:44

10 Sep 2018, 13:26

Please try with fullcalendar 4.0.0-alpha or add jquery in package.json because we removed jquery and upgraded fullcalender in PrimeReact 2.0.0-beta.1

Posts: 6
Joined: 25 Jun 2018, 05:22

15 Sep 2018, 08:18

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: ... uleDemo.js

I guess you should update docs to inlcude this info.

Hope it helps,

Posts: 18309
Joined: 05 Jan 2009, 00:21
Location: Cybertron

22 Sep 2018, 14:18

That is strange because Schedule uses FullCalendar 4 which does not use jQuery, the live demo has no jQuery;

Docs contain detailed information about setup like imports, necessary CSS and so on.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests