The New Way to Build with AI! Introducing ReUI — the developer platform for agentic UI with shadcn/ui
Browse ReUI Pro

FullCalander Vue

I have problem with fullCalander Package when i build the project the problem is when i put a dynamic events ( using ref or reactive ) they block the page without any response i get also warning in browser about : ( in the dev mode ) "runtime-core.esm-bundler.js:40 [Vue warn]: Maximum recursive updates exceeded. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function." here's my code for FullCalander use :

<pre> <FullCalendar class="demo-app-calendar" :options="calendarOptions" /> const calendarOptions = ref({ plugins: [dayGridPlugin, timeGridPlugin, listPlugin, interactionPlugin], headerToolbar: { left: "prev,next today", center: "title", right: "dayGridMonth,timeGridWeek,timeGridDay", }, initialDate: TODAY, navLinks: true, // can click day/week names to navigate views selectable: true, selectMirror: true, views: { dayGridMonth: { buttonText: "month" }, timeGridWeek: { buttonText: "week" }, timeGridDay: { buttonText: "day" }, }, editable: true, dayMaxEvents: true, // allow "more" link when too many events events: schedulesOptions.value, dateClick: newReview, eventClick: newReview, }); const getSchedules = async (id) => { // alert(id) try { const res = await ApiService.get( `${props.eventsUrl}?empolyee_id=${id}` ); const schedules = res.data; calendarOptions.value.events = schedules; } catch (error) { console.error(error); } }; </pre>
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)

 
Deleted comment
 
Deleted comment
Deleted comment
 
Deleted comment
 
Deleted comment

Hi,

Thank you for reaching out to us.

Could you please clarify when you're calling the getSchedules function?

Also, ensure that your API returns the events array in the correct format. You can check event object available properties here.

Regards,
Lauris Stepanovs,
Keenthemes Support Team


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
buy metronic keenthemes mega bundle

ReUI

Open-source React components, blocks and templates built on shadcn/ui and Tailwind CSS by Keenthemes.