1

I've don't want Validators.required to consider just whitespace as fulfilling its requirement.

Rather than adding an extra validator to my formControl, I'd like to extend Angular's Validators.required. Can someone point me to any info on how to do this?

Skyler
  • 777
  • 1
  • 9
  • 34
  • Possible duplicate of [How to validate white spaces/empty spaces? \[Angular 2\]](https://stackoverflow.com/questions/39236992/how-to-validate-white-spaces-empty-spaces-angular-2) – Milo Nov 05 '17 at 01:32
  • Why not use the built in `Validators.pattern`? – AT82 Nov 05 '17 at 07:37

0 Answers0