Hello, I can’t find a way to display a selection of favorite genres in a list? I need the user to click “Add” in the Favorite Genres section and be taken to a modal window with a list of all genres. I wanted to make it so that when a genre button is clicked, it changes color, adding the selected genre to the favorites list, and also allowing the user to remove it. It works similarly to a toggle, but as far as I understand, there’s no way to change the color during interaction. Even using the toggle itself, it doesn’t allow selecting a collection of genres. Can anyone suggest how I can properly implement this feature?
@olga.solovyeva60 have a look at button states (select a button and scroll to the bottom section in the left pane).
If you have favourites set up as many-to-many (user - genres), then the solution is pretty easy. You enable a state, set up the condition for the state so that logged-in user → genres contain current genre, and set the visual style of the button as you want.
This video might be helpful in general understanding how states work: https://youtu.be/eTlm8oZRUbg
Best,
Victor.
The problem is, I can’t set a condition. I need the button to be in one state when the genre isn’t in the user’s “favorite genres.” After clicking it, it switches to another state: when the genre is in the “favorite genres.” This isn’t a separate button, but a list of buttons. I can’t set a condition like “the user’s favorite genres do not contain/do contain the current genre”—that’s what I need, but there’s no such option. I’m trying to find another solution, but maybe I’m misunderstanding something…
@olga.solovyeva60 please have a look at this video: https://youtu.be/CF4WZm2fdio
Best,
Victor.
Thank you so much! I did it! I realized what my mistake was: I used two collections, although you can do everything through one.

