Let's Code Together - Building a Search Form

Call Search Method


In this video

We implement calling the search method

Assignment: Implement searching on name
  1. Create the name control using the form builder
  2. Default the name to an empty string
  3. Bind to the input in the HTML
  4. Set the name property on the search criteria
    1. Set it to null if the name field is empty
    2. Trim the name

I finished! On to the next chapter