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

The duplicate attribute is case insensitive #1416

Open windowdotonload opened 3 days ago

windowdotonload commented 3 days ago

expected

The duplicate property can be a Boolean or an Object

For example:

new Tagify(input, {
   duplicates: {
      disallow: true,
      caseSensitive: true
   }
})

It is case-sensitive when detecting duplicates of tags