Skip to content

Validator.registerAsync() callback documentation #464

@sdr0x07b6

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.

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