Search⌘ K

Challenge: Form Validation

Explore how to implement additional validators in Angular forms by adding a minLength check to an event title field in this challenge. Learn how to keep the submit button disabled until the input meets validation criteria and write tests to confirm the validator works correctly.

Problem statement

Currently, the only validator for the event title field is Validators.required. Try adding another validator to this field, such as ...