Skip to content

Cannot read property 'validation' of undefined #7

@dongmai

Description

@dongmai

for(var field in this._appliedValidations)

Hi, I got the error Cannot read property 'validation' of undefined at the line above.
This is caused by I've added a new function to Array via Array.prototype.my_function so when looping through this._appliedValidations there is one case that field = 'my_function' so it crash there.

Please take a look.
Thanks.

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