Hello!Have you tried changing color of only one character in a single expression? For example right here on the image below, i need to change the color of the asterisk only to red and others on regular color black. Thanks in advance!
Hi @RD.
Kindly refer the discussions link below, it might help:
https://www.outsystems.com/forums/discussion/92320/conditionally-change-color-of-link-or-expression/
Thanks,
Dhanasingh Dennison.
Hi RD,
Using Expression widget could not change the color of particular string. But I will suggest to use (Expression + Text) and create separate CSS class which you can give to Text widget style.
Example:
Regards,
Shubham
You can not use html in the expression due to html sanitization expression will convert it in normal html. So you have to separate it.
Hi @RD.,Here is solution, this will help you to easily inject HTML, its not the most optimal solution, but you can give it a try.Regards,Faiz
Thanks for your response guys, will check it and give an update here.
Hi,please find the attached oml,thanks,sahana
There was a discussion just one week ago on the same topic.
https://www.outsystems.com/forums/discussion/101822/expression-with-styling/
TLDR: You can use multiple expressions, or JavaScript. Never plain CSS.