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

277
Visualizações
How to use React useContext with Formik FieldArray in multistep dynamic form?

I have been coding for 4 months, this is my first post and my first time using SandBox, feel free to roast me... I am trying to make a complicated multistep, dynamic form where users can input information about cars. I am trying to use the React hook useContext because I figured it was the best way to pass around the data. I am also trying to make part of the form dynamic using Formik FieldArray, where a user could input multiple past owners of the car. This is where I am stuck. Specifically on the "Previous Owner" section when trying to use FieldArray. The data gets set with useContext, but it freaks out when trying to add more than one previous owner. I think it's because it's not identifying each previous owner as an additional object. The TextField also loses focus after each character input. I created a SandBox in order to see it visually plus the code. I also added the JSON values as it kinda helped me see whats going on. Sandbox Link Any help would be greatly appreciated! Thank you very much for your time and help!

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