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

1K
Vistas
The Datatables searchbuilder encounters bug when I use Moment.js (Implemented by package Yajra)

I implemented my datatables by the Yajra.

We have a datetime field in the table. In searchbuilder, if we want to filter a field of datetime, by default, a datepicker is displayed with only date and no time!

enter image description here

If it is more correct to display both the date and the time. I searched the internet to solve this problem. I figured I had to use moment.js. But when I use moment.js, it encounters more bugs:

  1. In datepicker only time section is displayed and date section is not displayed.
  2. When one of the times is clicked, instead of a valid datetime, an invalid string is inserted in the input.

enter image description here

  1. The datetime string sent to the request is always a fixed datetime and does not change.

enter image description here

Where do you think the problem comes from?

about 4 years ago · Juan Pablo Isaza
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