Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow async validation #2

Closed
erikras opened this issue Jul 31, 2015 · 2 comments
Closed

Allow async validation #2

erikras opened this issue Jul 31, 2015 · 2 comments

Comments

@erikras
Copy link
Member

erikras commented Jul 31, 2015

No description provided.

@johanneslumpe
Copy link
Contributor

@erikras Have you thought about this a bit more? Since the validation currently happens inside the decorator's render function, making it async will require some changes there obviously. How about having a 2nd validation function, only for async validations? It could be debounced, so that it does not trigger too often during re-renders. And if it is being triggered a boolean, indicating that async validation is going on, could be passed to the component. Just a few ideas :)

@lock
Copy link

lock bot commented Jun 3, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants