Giter Site home page Giter Site logo

Block non-existent tags about tag-it HOT 3 CLOSED

aehlke avatar aehlke commented on July 30, 2024
Block non-existent tags

from tag-it.

Comments (3)

ryanohs avatar ryanohs commented on July 30, 2024

I won't say this shouldn't be added, however the point of using tags is typically to extend the search or filtering capability of an application beyond what the original developer intended (especially in the case of user generated content). Imagine a trending tag cloud with a fixed list of tags; kinda boring right? @edsiper In your use case a searchable multiselect box might be a better approach.

from tag-it.

baio avatar baio commented on July 30, 2024

Hi! @ryanohs And how about scenario when some users are allowed to add new tags and some not, it would be nice to control this behaviour through single control, not to create two separated for each case.

from tag-it.

aehlke avatar aehlke commented on July 30, 2024

Please just use the new beforeTagAdded callback which lets you return false to reject a tag from being added. I'd like to add a shortcut but it's tricky to get right, what with having both arbitrary autocomplete callbacks as well as availableTags.

from tag-it.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.