When I choose from a Combo Box a color, I want the color of the Icon beside it to change. How to do it?
Hi @Sameeksha ,
You can create a static entity with colors and their color codes and assign it to the dropdown.
then create a local variable to assign a color and assign that var to dropdown and add a style property to the icon as shown below.
Adding the OML for better understanding, refer the icon color screen.
Regards.
Jozy.
Hello,
Adding the OML for better understanding.
I hope you fill find the Solutions
Thanks & Regards.
Navneet Sharma
Can you please brief more,Are you going to choose color using combobox.If yes then you have to use If condition to assign color else you have to create CSS class and based on if condition assign respective class
likeIf choose red then CSS class for red color will get applied to icon
Hope you understand.
Thanks
Yogesh
Hi Sameeksha,
Kindly follow the below-mentioned approach for changing Icon colors using the dropdown.
https://saravanan-gamechanger.outsystemscloud.com/SchneiderPractice/Icon.aspx?_ts=637950403371878590
Customize the colors based on your need.
I hope this helps!
Regards,Saravanan Santhanam.