Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

251
Views
¿Puedo tener un formulario que recopile múltiples imágenes usando React y firebase? O estoy buscando un unicornio

Actualmente tengo el código que recopila los detalles del usuario.

 const [nameInput, setNameInput] = useState(''); const [ lastNameInput, setLastNameInput] = useState(''); const [decriptionInput, setDescriptionInput] = useState('');
 // is it possible to have a state that will collect multiple images from the user Like: const [ imagesInput, setImagesInput] = useState([]);
 projectFirestore.collection('Posts').add({ name: nameInput, Lastname: lastNameInput, description: descriptionInput, })

// luego cargue imágenes en el almacenamiento de Firebase y obtenga las URL en forma de matriz como images: ["photo url 0", "Photo url 1", "photoUrl 2"]

Y

 return ( <div> <form className="Upload__form"> <input type="text" className="input__name" value={nameInput} onChange={e => setNameInput(e.target.value)}/> <input type="text" className="lastName" value={lastNameInput} onChange={e => setLastNameInput(e.target.value)}/> <input type="text" className="description" value={DescriptionInput} onChange={e => setDescriptionInput(e.target.value)}/> )

luego recopilar las imágenes del usuario

 <input type="file" multiple className="upload__field" />```
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!