How to change container border color from grey to yellow when i tap to this container?

How to change container border color from grey to yellow when i tap to this container? like there?

Earlier i did this for inputs, but i can’t do it for “when i tap…” and i don’t know what kind of formula can help in this situation instead of “IS_EMPTY”…

Hi, you can use the “Set component styles” flow function from the marketplace for this with {borderColor: "#e6e6e6"} as the new styles :slight_smile:

Hi! I tried to do using this one:

Because of there error, i changed value of cardBorderColor like this:

But when i tap to the container, it shows me my container border hided and it’s not changed to another border color.

Could you show me more detailed this?

Hi, your formula tries to change the theme variable that affects all components, not the individual component’s style. Just use {borderColor: "#e6e6e6"} instead of {theme.$...}, that will affect just the component that you’re clicking.

Wow it works, Thank youu!!!

How to do it for title in the container?

or for paragraph in the container?

Hi, you can change any CSS property of an element with {cssProperty: value}, for example if you want to change the color of a paragraph to blue you can do it with {color: 'blue'}. You can find a list of CSS properties here, just remember to write them in camelCase so for example font-size in CSS is fontSize in Composer. :slight_smile:

Thank yoou very much!!!

I have one more question.

Can i do rating using this component?

I know one way, using hide/show components, but it’s not logical for rating.

If you know another ways, could you help, please?

Hi, we have this tutorial on how to do it using a composite component. :slight_smile:

thank uuu very much! :smiling_face_with_three_hearts:

1 Like