Skip to content

Success function inappropriately called before 'blur' event #40

Description

@dlsso

When registering a rule I can set invoke: 'blur', and error: function() {...} and the error function is only called on blur. This is the desired behavior. However, when success: function() {...} is set it gets called not only on blur but also immediately when a key is pressed.

This means that if a field gets a valid value and is changed to an invalid value, success will still show. Then the error will show on blur.

It looks like fixes may be some time in coming, so any simple workaround would also be appreciated. Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions