You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it not be better to do a key up for validation rather than on Focus? I have seen many other validation plugins that use this method. Right now fields do not validate until the focus is changed. So, someone might get confused and not click the submit button or move to the next field because the current field is still in red and they don't know that they need to change the focus by clicking on something or moving to the next field.
The text was updated successfully, but these errors were encountered:
Very good points. Makes sense to switch the event to keyUp. If you have a PR, I'd be happy to apply it otherwise, I should have some time over the next two days to work on this.
I just committed a change where keyUp validates field control state. Validation also occurs for blur (as was default behavior). The benefit, as pointed out by @rhenline, is that the user now gets a better sense of when they've input a good or a bad value as the feedback is immediate.
Would it not be better to do a key up for validation rather than on Focus? I have seen many other validation plugins that use this method. Right now fields do not validate until the focus is changed. So, someone might get confused and not click the submit button or move to the next field because the current field is still in red and they don't know that they need to change the focus by clicking on something or moving to the next field.
The text was updated successfully, but these errors were encountered: