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

114
Vistas
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 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