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

258
Vistas
React time duration input

I am new to react and I am working on a project. I want the user to input the time that he has spent on doing work. For example, the user can input 2:20 hours or 1:30 hours that he has spent on a task. I am using material UI and I have tried to use TextField with type=time. And it could work on desktop but it is rendered differently on mobile.

This is how it is looking on the desktop. And this is still good.

This is how it is looking on desktop

this is how it looks on desktop

But as it is an time input field, on mobile it is rendered as a clock. And this is not what i want. I want input as hours and minutes spend.

rendered on mobile

This might be because of browser renders time input in this way on mobiles.

So is there any way that I can render it on mobile the same as it is rendered on desktop or there is any other react package available that I can use for time-duration input? I have tried some packages from npm but those do not work as expected.

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