Company logo
  • Empleos
  • Bootcamp
  • Acerca de nosotros
  • Para profesionales
    • Inicio
    • Empleos
    • Cursos y retos
    • Preguntas
    • Profesores
    • Bootcamp
  • Para empresas
    • Inicio
    • Nuestro proceso
    • Planes
    • Pruebas
    • Nómina
    • Blog
    • Comercial
    • Calculadora

0

82
Vistas
Reactjs: How to handle multiple question checkbox options?

I am working on a survey using react I have multiple questions and choice's in list form and some are type:checkbox where you can select multiple options and some are radio type and I wrote a handle function but the problem is that when I select multiple options for first questions its keep selected options on next question , so I want help that how it will not keep previous question selected options. here is the survey questions list with choices in API form. Here is the code sandbox link I tried please check it and try to help me I am struggling with this few days

https://codesandbox.io/s/fragrant-breeze-gc8us?file=/src/App.js

7 months ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos