Is it possible to style entity name by css?

Hi, i have entity name which appears in filters. Is it possible to style text somehov using css or som e html syntax?

In options i see:

Name Surname - someid

i want toachieve:

Name Surname - someid

Screenshot_75

Hello @igor.sovcik,

You could try to apply optionCaptionProvider to LookupField component to customize caption text. Also, you could try to apply optionStyleProvider to LookupField component to customize option styleName (see https://demo10.cuba-platform.com/sampler/#main/0/sample?id=options-style-provider-lookupfield).

Regards,
Gleb