Replies: 1 comment
-
|
You should probably use external sources for this use case: https://akkurate.dev/docs/use-external-sources.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using this library for validating user form in android kotlin.
User inputs are "name", "email" and "password"
I am validating if "name" is not empty, "email" is in correct email format, and "password" has a minimum length.
Once inputs are valid I am submitting to the server and server says the email I am sending is already in use.
Now I want to show this error message by creating a instance of "ValidationResult.Failure", but it's constructor is "internal", is there any way to update form validation state externally?
Beta Was this translation helpful? Give feedback.
All reactions