Remove one symbol. Now there're 3 symbols on EditText
Change focus
Expected result: Error indicator cleared
Actual result: Error indicator stays as was.
However, error indicator gets cleared in following case:
Case B:
E.g have EditText with rule MinLength(2);
Enter 1 symbol
Change focus
=> Error indicator pops up
Enter another symbol. Now there're 2 symbols on EditText
There's no step 4. No need to change focus.
Result: Error indicator cleared as expected.
As I understood, the reason is TextView automatically clears its error indicator when user inputs some text.
After more digging into komensky lib, I figured out that you are not handling at all case when validation succeeds on FormValidator.onGlobalFocusChanged method. I would like to hear your thoughts on this issue. Thanks!
My environment:
Case A: Have EditText with rule MaxLength(3).
However, error indicator gets cleared in following case: Case B: E.g have EditText with rule MinLength(2);
As I understood, the reason is TextView automatically clears its error indicator when user inputs some text. After more digging into komensky lib, I figured out that you are not handling at all case when validation succeeds on FormValidator.onGlobalFocusChanged method. I would like to hear your thoughts on this issue. Thanks!