yairEO / tagify

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

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

Closed dirslashls closed 5 months ago

dirslashls commented 5 months ago

Prerequisites

💥 Demo Page

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

Explanation

yairEO commented 5 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