Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

219
Vistas
How to disable previous month in Fullcalendar io?

How to disable the previous button when the previous month is less than the current month. For example, this month is March, therefore navigation previous month button must be disable.

I have read the documentation but until now this issue has not been resolved.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

What you need is the validRange option. This allows you to set limits on where the user can navigate to, and where events can be placed.

There's an example in that documentation of how you can prevent the user navigating before the current date - you need to make use of the version of the option which provides a callback function, into which fullCalendar will pass the current date. Simply specify the current date as the start of the valid range. If you don't specify an end date, then there will be no future limit on the dates the user can navigate to; it will only restrict dates in the past.

validRange: function(nowDate) {
  return {
    start: nowDate
  };
},

Live demo: https://codepen.io/ADyson82/pen/yLPQYxr

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda