core.js:4081 ERROR Error: Expected validator to return Promise or Observable. 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)]]
};