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

113
Visualizações
Single input separated by gaps React

Is it possible to make an input file as below as one input file, not six separate inputs? This should work so that only when you click on the gray box, the file explorer opens. Regardless of which field we click, the same file input should open. The problem is that I don't want an explorer window to open when I click on the white gaps between the gray boxes. I must have it done like this because if I do six separate fields, I won't be able to validate it in react hook form.

Or is it possible to combine few inputs into one? I mean how to combine this three inputs below that they will share the same memory, regardless on which I click and to which I add some files?

<input type="file" />
<input type="file" />
<input type="file" />

Here You can find rest of my question and code: File input validation using React Hook Form and Yup

enter image description here

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