Can we have a full example for async rules?
joelephroni opened this issue · 2 comments
joelephroni commented
My rule returns {controlName: {}} instead of {controlName: "errorMessage"}. I have been pounding my head against this all day, and nothing seems to produce the right errors object. Help? What should the custom method return and what should the rule return in the 'then' and 'catch' clauses?
sbarfurth commented
Hi @joelephroni - sorry about the long delay. If you're still wondering about this I would like to take a look. It would be good if you could provide some sort of reproduction code.
sbarfurth commented
Closing this for now. Please open a new ticket if you still have a question.