Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

257
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda