How do I not allow submission for empty fields from a child component? More explanation below
I have this sample codesandbox I made, though, in my original one there were already a lot of values. I only recreated the problem that I had. Codesandbox: https://codesandbox.io/s/youthful-firefly-40mig3?file=/src/App.js I have this in my App.js where I define some of my needed values and then pass it to 2 other components. <div className="App"> {/* some… Read More How do I not allow submission for empty fields from a child component? More explanation below