Comments (5)
Using #28
$('.tagManager').trigger('empty');
This is akin to reset but it more correctly defined as emtpying all tags (rather than reconstructing the supporting form elements too)
from tagmanager.
correction:
$('.tagManager').trigger('emptyTags');
from tagmanager.
Interesting, just checked out your changes, looks like some good stuff in there.
I'll give your repo a go. Thanks.
from tagmanager.
Looks good, just did a bit of testing and it works well.
One other addition that would be nice (while you're in the mood :)) would be to add an event so that tags could be checked before addition to the control, this would let you filter the tags to only acceptable ones, ie for doing a subset of possible values. Maybe an 'acceptTag' event that either returns the tag for inclusion or null to reject it.
from tagmanager.
Check the options, there's a validation function module to do check tag before it's added.
And in my latest commit from today you have the "empty" method too.
from tagmanager.
Related Issues (20)
- Documentation outdated HOT 1
- Tag's with external ids can't be removed
- Documentation not in sync for tm:pushing
- The git tag v3.0.2 is pointing to v3.0.1
- Change autocomplete suggestion list dynamically, also only TagList: true is not working
- Docs incorrectly reflect the jQuery callback handler name HOT 1
- solved i could not delete this issue
- Delimiters are not working on mobile (android)
- about input name.
- hiddenTagListId being ignored
- Two tagmanagers on one page
- Couldn't find package "TagManager" on the "npm" registry
- Replace comma inside value before it goes to output or change output delimiter HOT 8
- Add custom data in the hidden field
- Push tag on mobile not working HOT 1
- Deprecated installer HOT 1
- prefilled with validator not working
- Documentation mentions the use of hiddenTagListName and hiddenTagListId properties, but these are deprecated
- Working with objects instead of strings
- Wait for ajax response on validator
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tagmanager.