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.
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.valueautomatically".The PR Strategy :
You can implement a
MutationObserverwithin the core tagify.js logic. This observer would watch the host input element for external attribute or value changes and seamlessly sync the internalTagifystate, making the library much more robust when used alongside other DOM-manipulating scripts.