Skip to content

DOM Mutation Observer for Automatic Value Updates #1494

@codeCraft-Ritik

Description

@codeCraft-Ritik

Relying on specific events to track changes can sometimes miss programmatic updates to the DOM.

The Issue :-

The roadmap notes a goal to "use DOM mutation to detect changes and update this.value automatically".

The PR Strategy :
You can implement a MutationObserver within the core tagify.js logic. This observer would watch the host input element for external attribute or value changes and seamlessly sync the internal Tagify state, making the library much more robust when used alongside other DOM-manipulating scripts.

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