Answer the question
In order to leave comments, you need to log in
I need the form fields to be cleared when the data is not successfully sent to the back, how to do this in the component (isClear comes from redux as a signal)u)?
Answer the question
In order to leave comments, you need to log in
If the form fields are controllable, then you need to give each field a defaultValue=''
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question