Skip to content

Failed to execute 'insertBefore' on 'Node' #48

@silviustan

Description

@silviustan

Hi,

I get this error on a regular bootstrap 3 form, Nette 2.4. Every field is wrapped by form-group, nothing special...

Everything happens on this line(306): parentEl.insertBefore(messageEl, el.nextSibling);

live-form-validation.js:306 Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
    at Object.LiveForm.getMessageElement (admin/assets/js/live-form-validation.js:306:13)
    at Object.LiveForm.processServerErrors (admin/assets/js/live-form-validation.js:145:23)
    at Object.Nette.initForm (admin/assets/js/live-form-validation.js:1151:12)
    at HTMLDocument.<anonymous> (admin/assets/js/live-form-validation.js:1165:12)

Anybody else? Do you have some suggestions how to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Triage: Now

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions