Is there a type to use for "tags"? #486
-
|
I have a fix set of tags to use, is there a widget type I can point at that JSON field that would give me some sort of multi-select? I need to store it like this But right now it's just a textarea int he UI, I dont want to add new tags here, I'd just prefer to define the list somwhere |
Beta Was this translation helpful? Give feedback.
Answered by
kyoshino
Aug 15, 2025
Replies: 1 comment 3 replies
-
|
The best way to handle tags is the Relation widget.
- name: tags
label: Tags
widget: relation
collection: tags
value_field: slug
search_fields: [slug, label]
display_fields: [label]
multiple: true |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you don’t want to have a separate collection, the Select widget should work 🙂