You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, on every menu item, add an event listener to execute the picker.set() method:
letitem=document.createElement('a');item.textContent=data.title;// From AJAX responseitem.addEventListener('click',function(e){picker.set(this.textContent);picker.input.textContent="";e.preventDefault();});
A bit like how stackoverflow does it
I am looking at the example page https://taufik-nurrohman.js.org/tag-picker/ but still not find something that works like that
The text was updated successfully, but these errors were encountered: