Calendar Component on Retool Mobile

Hi Retool Team,

Are there plans to introduce a dedicated calendar component for Retool Mobile Apps - same as the webapps? We’ve tried using the HTML component with libraries like FullCalendar, but there might be limitations I am not aware of and/or I might be doing something wrong. Let me know what would be your recommendation.

Example:

<!-- FullCalendar Placeholder -->
<div id="calendar" style="width: 100%; height: 500px;"></div>

<!-- FullCalendar Script -->
<script>
  (function () {
    // Locate the calendar placeholder
    const calendarEl = document.getElementById('calendar');
    if (!calendarEl) {
      console.error('Calendar element not found.');
      return;
    }

    // Dynamically load FullCalendar's JS
    const script = document.createElement('script');
    script.src = 'https://cdn.jsdelivr.net/npm/fullcalendar@6.1.15/index.global.min.js';
    script.onload = function () {
      // Initialize FullCalendar once the library is loaded
      const calendar = new FullCalendar.Calendar(calendarEl, {
        initialView: 'dayGridMonth',
        events: [
          { title: 'Event 1', start: '2024-12-01' },
          { title: 'Event 2', start: '2024-12-05' },
        ],
      });
      calendar.render();
      console.log('FullCalendar initialized successfully.');
    };
    document.body.appendChild(script);
  })();
</script>

A native calendar component would be hugely beneficial:

  • Day, Week, and Month Views
  • Dynamic Event Loading
  • Drag-and-Drop for Event Reordering ... would be incredible

Looking forward to your thoughts!

Thanks!

3 Likes

Hello @yas!

Great suggestion, it looks like another uses requested this as well and we had an internal feature request ticket made for this!

I will add your +1 to this ticket and attach this thread as well so that I can update you with any news that comes out in regards to this ticket.

I 100% agree it will be much easier to use a native Retool component instead of a custom component :sweat_smile: