I’m trying to do custom validation on Angular 10 but I’m facing the following error. I just want to return an error to the form if the value doesn’t match the required, here’s my code: This is the component where my form is Does that type of validation only work with observables or can I do it without being a