Hello, so i have a data filed called “colors” in a data type called “paintings” and a users can add some colors to the database that is matching the painting. But i would like to display in a repeating group the painting (done) the name (done), description (done) but also the colors separated like in the image below
But right now i can only get it to look like this:
hello this is what I did recently for a tag list. Added an HTML element then copied the following code. You can then play with the values to obtain the desired visual. at the bottom in bold, replace only your Data Source.**
However, this solution will not change each item to a different color.
Adam, you’re truly a lifesaver! I can’t express my gratitude enough for the time and effort you’ve put into showing me all of this. It’s individuals like you who inspire people like me to stay committed to learning Bubble and being part of this wonderful community. Thank you once more!
One more question, im not using option sets, the users can add thier own colors like “beige” “Deep purple” etc. How would i go about adding that info since it’s not option sets?
It looks like your not using a list of texts for this in the database…
So you’ll need to make a list out of whatever form the data is in (I’m guessing it’s just a single text, so just split it into a list).
In any case, I wouldn’t personally recommend using texts for this type of thing at all - it makes it a lot more complicated (although that depends on exactly what you’re intending to do with it).
But, regardless of what ‘type’ it is, it has to be a list…