Can’t type in controlled input React
I am creating an app that allows users to dynamically create new form fields. When making a new field, I ran into a bug where, when React re-renders my mapped over user input array, the form data was not re-rendered so the forms appeared blank. I realized this was because I did not set the value attributes for my input but after I set them I could no longer type in the input.
Can’t type in controlled input React
I am creating an app that allows users to dynamically create new form fields. When making a new field, I ran into a bug where, when React re-renders my mapped over user input array, the form data was not re-rendered so the forms appeared blank. I realized this was because I did not set the value attributes for my input but after I set them I could no longer type in the input.