DEV Community

Discussion on: Dynamic form fields using React with hooks

Collapse
 
one_punch_007 profile image
one_piece

It's amazing solution, but when using drop-down instead of input, then having issue. If I have two drop-down, on the base of one selection other drop-down appear and I change value. But if I change again the value of first drop-down, the second drop-down value is not reset in UI. I have around 4 type of second field which appear on the base of first drop-down selection.

Collapse
 
pankhudisharma4 profile image
Sharma Pankhudi 👩🏻‍💻

I am having same issue. did you get solution for that?