Skip to content

Validator.registerAsync() callback documentation #464

Description

@sdr0x07b6

What happened?
The current document looks like this

Validator.registerAsync('username_available', function(username, attribute, req, passes) {

However, the order of attribute and req is actually reversed.

What did you expect to happen?
It should be written like this

Validator.registerAsync('username_available', function(username, requirement, attribute, passes) {

Are you willing to submit a pull request to fix this bug?
I don't know if they would even look at it if I submitted it.

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