Handling the Modal Form Data
Learn how to validate the data from our edit form and animate the edited contact on the application's main page.
We'll cover the following...
At this point, we have our model window displayed that allows us to edit the contact details. We still need to process the form and update the model or display errors within the form.
Display errors
Displaying the errors on the form is pretty straightforward since we just trigger the view’s onFormDataInvalid
method:
Access this course and 1400+ top-rated courses and projects.