I really liked how the code is optimized and I this helped you to fix it. I didn't want to create a pull request because I only corrected this issue in jQuery file and since the jQuery file is in min format It will be very difficult to review my code that's why I shared the fixing code here and I will let you the care to change it as you want. There are 26 other projects in the npm registry using yaireo/tagify. Listen to Tagify events (add, remove, input, edit, invalid, click, dropdown) Un-listen to specific event (see onAddTag function). Start using yaireo/tagify in your project by running npm i yaireo/tagify. Latest version: 4.17.7, last published: 2 months ago. Home Libraries tagify tagify lightweight, efficient Tags input component in Vanilla JS / React / Angular super customizable, tiny size & top performance 3k GitHub package MIT licensed Tags: tagging, html, input, tags, tagify, javascript, react, reactjs, react-component, angular-component Version 4.17. So I changed that part like this: e ? (.) : (this) lightweight, efficient Tags input component in Vanilla JS / React / Angular super customizable, tiny size & top performance. And in that case we should hide the dropdown menu (I think if it's already opened if you want but I don't think that will make problem if we always hide it unless there is some logics behind it). We should consider the situation where e is not found. If e (which is suggestedListItems) is found, we should render the HTML dropdown menu.īut if e is not found ? That's the problem.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |