Practice Activity

Change the simple form we had in our Joke application into a model-driven form with both form validation styling and validation error messages, like so:

activity example

Steps

Fork this blitz:

Change the JokeFormComponent so the form is implemented using model-driven forms.

Read any TODO comments in the blitz for hints.

Solution

When you are ready compare your answer to the solution in this blitz:


Caught a mistake or want to contribute to the book? Edit this page on GitHub!