expected validator to return promise or observable. in angular 8 code example
Example: Expected validator to return Promise or Observable
profileFormGroup = {
budget: [null, [Validators.required, Validators.min(1)]]
};
profileFormGroup = {
budget: [null, [Validators.required, Validators.min(1)]]
};