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
Add Asynchronous validation #12
Comments
Great idea! Looking forward to See your pull request |
I am done with the change, but quick one. Do you think we should implement some sort of loading indicator or leave that to the user? |
Yeah, a loading indicator with a customizable description below wpould be nice! |
I am currently using this in my app. What I found is that it is best to leave the indicator to the user.
|
Or we just use |
In the next release this will be resolved by overriding
The default implementation returns |
I'd like to be able to validate some data server side, e.g. Username and email uniqueness.
I am working on this currently. I was thinking a callback will be passed along with the input. Rather than just returning a boolean, we can add an error message. That way we fallback on the default message if non is provided. This has the benefit allowing the user to have more control over the error message.
While validating, we can show a loading spinner.
Any thoughts? I'll work on this and send a pull.
The text was updated successfully, but these errors were encountered: