Skip to content

form.js plugin throws an error when text node is added in the dom #505

@vdua

Description

@vdua

Description
form.js plugin is throwing an error

Uncaught TypeError: node.querySelector is not a function
    at form.js:79:83
    at Array.filter (<anonymous>)
    at form.js:79:36
    at Array.forEach (<anonymous>)
    at MutationObserver.<anonymous> (form.js:77:20)

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Version:
run: $ hlx --version

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions