-
Notifications
You must be signed in to change notification settings - Fork 460
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
Remove error #22
Comments
@sytolk this is a problem with Android and not a Saripaar behavior. Since you can get all the |
I know but its better to use function before validate like: void removeErrors(){ the problem is that I don`t have mValidator.getMProperties(); public method |
|
Thanks but I don`t think that TextWatcher can help me. I use androidannotations @focuschange annotation on validation method. The problem is that:
can I skip step 2 ? |
If validation is complete and onValidationFailed function is executed:
((EditText) failedView).setError(message); -EditText field is in red Error.
Next user change this field and click on Submit button. Field map is re-validated and value of this field is valid (error appear on next field) but the old error in EditText exist too.
2 error fields is in red (first is valid but the error is not removed)
Can you add public method to get private Map<String, Object> mProperties;
and I can in mProperties loop to set on all field for validation:
textView.setError(null);
The text was updated successfully, but these errors were encountered: