Answer the question
In order to leave comments, you need to log in
How to fill in the data again in case of an error?
Hello, there is a modal (form) in it with 3 inputs that you fill out and then send to the server, but if an error occurs, the modal closes and another window appears with a resend button. And on clicking, the modal opens again. Can you tell me how, in case of failure, it is possible to transfer the values back to the inputs, so that it remains only to press the submit button, what exactly to use? Throw off examples if you know, I will be grateful.
I send using axios in the try{}catch(e){} construct.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question