Relative Content

Tag Archive for javascriptreactjsfrontendconditional-renderingcontrolled-component

Conditional Rendering of Controlled Components Giving a Blank Page When False

I’ve been working on my first React Project, a CV application where users can input their information and generate a CV. After the user submits the form, the form should disappear and the relevant info displayed on the page.
Unfortunately, nothing is displayed after the input boxes are filled, and it seems like the state values become empty after pressing the submit button. Also, the input fields disappear even before I press the submit button.