Form status undefined for asyncValidator results
cyberwombat opened this issue · 0 comments
cyberwombat commented
Describe the bug
I am using the async validator example you provided and added a listener to the form to watch status change. Works fine for sync validators but for async it first provides PENDING as expected but then, whether the validation passes or fail it returns undefined.
To Reproduce
Steps to reproduce the behavior:
- Create a form with async validator
- Add listener such as myForm.statusChanges.subscribe((value) => {
console.log(value)
Expected behavior
I would expect VALID or INVALID
Desktop (please complete the following information):
- Version 1.0.30