Angular
Fundamentals of Angular - Forms

Validation and the Component

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 

In this video...

You will learn how to deal with validation issues and handle various situations in the code of your component.

Communicating validation issues to the user are important, but we still want to make sure that we don't persist incomplete or incorrect data. So knowing whether a form is valid or invalid in our code can be important to allow us to take certain actions based on the condition of the data the user has entered.

Generally we do this by including our form in event handlers so that we can query the form to determine if it's valid or not.

 

I finished! On to the next chapter