How to add an asterisk (*) icon to the label of a Reference Selector?

0
How can I add an asterisk (*) icon to the label of a ReferenceSelector?     For regular text input fields with required field validation, the asterisk appears automatically, but it doesn’t work for the reference selectors. And also my validation is implemented via a Nanoflow, so I need to add the asterisk manually. Is there a built-in class or any way to add the asterisk, without writing custom SCSS?
asked
2 answers
2

I would just create a css class

.input-mandatory label:after{
    content: '*';
}

now just add the 'input-mandatory' to the class of the set selector.

 

image.png

 

tadaaaa

answered
1

Standard Atlas doesn't have that asterisk either. You likely already have custom scss for that in a custom UI or Theme module.

Follow Jason's approach there.

answered