I am new in React.js, and I am trying to figure it out how to set up some functionality in form.
What I trying to do is the following:
1) Delete the records/inputs after clicking on the submit button (After submitting the information, the records are stored in the database, but the record/inputs are still displayed in the form.
2) After clicking the submit button, I would love to receive the following message in order to let the user know that the information was successfully submitted
This is part of my code in my component: