Is there any way that I can connect selection tag labels to the tags that I have created in a database?
Perhaps this one?
let pizzaToppingOptions = $w("#pizzaToppingTags").options;
pizzaToppingOptions.push({"label": "Olives", "value": "olives"});
$w("#pizzaToppingTags").options = pizzaToppingOptions;
You want to fill your SelectionTags with options/values from your DATABASE?
Then the code above will be useful for you.
I am working on my portfolio. I am using selection tags to display the type of project that I worked on (Logo, web design, branding etc).
My work is displayed in a repeater, and I was hoping that I could use selection tags on each project to show what I did for it.
Each container within the repeater may have different tags attached. So one project might have Web Design and logo. Another project might have just branding
@noahlovell Did you already have worked with Velo-Code?
If not you are running into a not very easy to do task.
I think one of this links will help you …
- https://www.wix.com/velo/forum/coding-with-velo/selection-tags-and-database
- https://www.wix.com/velo/forum/coding-with-velo/selection-tags-to-filter-repeater-using-velo
- https://www.wix.com/velo/forum/coding-with-velo/allow-only-1-selection-tag-on-dynamic-page
- https://www.wix.com/velo/forum/coding-with-velo/tags-without-a-repeater?appSectionParams=%7B%22origin%22%3A%22member_posts_page%22%7D
@russian-dima Thanks for those, I will definitely take a look at them. In the meantime, I think I have a workaround.
(I’ve used Velo before, but am not a coder. Something I am working on learning more about)