Invalid element is not focused when validate a custom set of inputs

Invalid element is not focused when validate a custom set of inputs and the last one is a valid input.

The issue is showErrors method reset errorList state after validate each input so the global state of the validator is not preserved.