Angular
Let's Code Together - Building a Search Form

Using Select with Reactive Forms

PRO
Outline

In this video

We learn how to use Select controls with reactive forms

  1. Add a LeagueId control to the form in the component
  2. Bind the league dropdown to the formGroup
  3. Set the LeagueId in the criteria. Use null if LeagueId is -1
 

I finished! On to the next chapter