Feature #9
Custom Tag Field
0%
Description
I would like to make adding Tags to objects easier, and have a custom form field that I can use, that autocompletes tags that exist already, and adds new ones if you add them from that field.
For instance, if I'm tagging a post "oberlin", "blogs" and "apple pie", and "oberlin" and "blogs" exist already, I'd like them to be autocompleted, and when I enter "apple pie", I want a new tag created with that name.
History
Updated by Stephen Burrows about 14 years ago
"Tags that exist already" - any tags, or just tags already used by posts in the blog?
Updated by Joseph Spiros about 14 years ago
Definitely any tags. The built-in Tag model is a simple design and assumes that everyone has access to a shared set of tags. This is precisely why there is an entry_tags property on Blog objects, so that for display purposes you can show only those tags you've used so far. But, for backend/editing purposes, it makes no sense to limit the tags you can select to tags you've already selected. Also, that would create a paradox in which you couldn't tag the first blog entry in a blog, as there would be no entry_tags.
Updated by Stephen Burrows almost 14 years ago
- Category set to Admin
- Status changed from New to Feedback
- Assignee set to Kriti Godey
I believe this is resolved with commit d8ba4e197c35a8e30f10112fcf53740e0711dc98, unless an actual field is desired. However, any manytomany field should be able to use the widget just as easily.
Updated by Joseph Spiros almost 14 years ago
- Status changed from Feedback to Resolved
This seems resolved to me.