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

134
Vistas
Adding Input to day cell in month view of FullCalendar

I'm trying to modify the FullCalendar month view so each day cell has an input element.

Here's my code:

(...)
dayRender: function (date, cell) {
          cell.append('<input type="number" style="margin-top: 60px; width: 30%; margin-left: 2px; z-index: 10; pointer-events: all!important">');
        }
(...)

So far, that input is showing but it doesn't focus on click. How would I go about making it focus?

As you can see, I tried seeting the pointer-events of the input to all, while setting the table pointer-events to none, but the result is the same.

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

I know it's probably a bit too late for you to answer this question but this can be fixed with simple CSS by adding higher z-index on calendar background:

 .fc-row .fc-bg {
    z-index: 5;
  }

I hope it helps for someone who was looking for the same problem.

over 4 years ago · Santiago Trujillo Denunciar

0

I have been trying and it works handling the event of dayClick. So, when the day is clicked I manually focus the input. Here is the code:

dayClick: function() {
    $(this).find("input").focus();
}

Maybe is not the best solution but it works.

over 4 years ago · Santiago Trujillo 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