tagmanager
tagmanager copied to clipboard
Store separate value of tag (e.g ID) in hidden field(s)
Love the plugin — thanks guys.
If there's a way to do this, please direct me to the docs: with Typeahead, it'd be great if tagmanager had an option to add a selector for a hidden field that stores the ID (not the value) of the autocompleted term (preferably in a comma-delimited list, but that could be configurable too).
I tried using multiple instances of tagmanager to achieve this, but they don't stay in sync (i.e. if I delete a tag, the corresponding ID in the other field doesn't remove itself).
Thanks again.
I'd like to have it too, but it seems to be not possible. With the help of events from this pull-request: https://github.com/max-favilli/tagmanager/pull/111 it's possible to synchronize manually.
@esspe, thanks. This looks to be exactly what I'm looking for — essentially callbacks that I can listen for. It'd be great to see this integrated in 3.0 (with typeahead.js support).
+1 Really need this:)
Also would be awesome if we could generate inputs like:
<input name="tags[]" value="2">
<input name="tags[]" value="4">
<input name="tags[]" value="6">
... for easier handling.