Skip to content
This repository was archived by the owner on Dec 20, 2025. It is now read-only.
This repository was archived by the owner on Dec 20, 2025. It is now read-only.

Ability to exclude a node in nodeCallback #67

@birarda

Description

@birarda

Is there any way for me to force the exclusion of a node in my nodeCallback?

I have an attribute I'm setting on inputs when they change, and I can check for this in the nodeCallback, but I can't find anything to return that doesn't end up just adding unchanged elements to the object.

function cleanupFormValues(node) {  
  if (node.getAttribute && node.getAttribute('data-changed') === 'true') {
    if (node.type && node.type === 'checkbox') {
      return { name: node.id, value: node.checked ? true : false };
    } else {
      return false;
    }
  } else {
    return { name: '', value: null };
  }
}

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