Skip to content

Cannot read property 'validationConfig' of undefined #540

Open
@EASemashko

Description

@EASemashko

Hello, I get this error on one my projects, I can't find the reason.
Please explain me how to fix it.

This code raises it

a.fn.validate = function (b, c, d) {
var e = a.extend({}, a.formUtils.LANG, d || {});
this.each(function () {
var d = a(this), f = d.closest("form").get(0).validationConfig || {}; (ERROR RAISES HERE)
d.one("validation", function (a, c) {
"function" == typeof b && b(c, this, a)
}), d.validateInputOnBlur(e, a.extend({}, f, c || {}), !0)
})

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions