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

227
Visualizações
How can I upload multiple photos in several selections with a form input?

I am trying to take and upload multiple photos on a phone. I know how to use

<input type="file" multiple>

The problem is, when I press "Choose Files" it takes a picture. However, if I click it again to add another picture, the second picture overwrites the first. So, I want to be able to click the "Choose Files" button multiple times to take more photos to add to the list of photos I want to upload.

In other words, I want to evoke the camera multiple times for a single upload.

How can I do that?

Thank you!!

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

With default behavior you will not be able to achieve that because that is how that input works. You can take pictures and then store them, if you are using react you can store it in a state and then do setImages(...images, image); but other than that I'd suggest taking the pictures and then choosing them as files

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