react icon indicating copy to clipboard operation
react copied to clipboard

Clear form field error

Open developersatyajit opened this issue 5 years ago • 0 comments

I have a form in my page which coming from the schema but the buttons are not there in the schema. I am adding those buttons when the page renders. Two buttons are there one is save and another is cancel. On changing any field the cancel button would appear which is not visible at the time of render. While saving the form it works perfectly. But when cancelling, the errors are still there in the form. I want to remove those errors. How to do that? Clicking on cancel should remove those errors that's what I need.

developersatyajit avatar May 02 '20 16:05 developersatyajit