yairEO / tagify

🔖 lightweight, efficient Tags input component in Vanilla JS / React / Angular / Vue
https://yaireo.github.io/tagify/
Other
3.55k stars 436 forks source link

Select mode with editTags = false doesn't open dropdown (regression from 4.19.0) #1314

Closed dirslashls closed 7 months ago

dirslashls commented 7 months ago

Prerequisites

💥 Demo Page

https://jsbin.com/yisotapavi/edit?html,js,output

Explanation

yairEO commented 7 months ago

Well it's not really a bug because there is no reason at all to set editTags to anything in select mode.

This setting is only makes sense to be used for the other modes.

I guess what you want it the userInput setting, where users can only select from the given whitelist and not cannot type anything into the box

Update - it does appear that the userInput setting has no effect in select mode so this is in fact a bug which will be fixed right away