Hi!
This question actually applies to all controls where a floatLabel can be used. In my form, I have some inputs which are required and need some indication like a *.
Here is an example of a textBox I'm using:
<ejs-textbox placeholder="Vorname" floatLabelType="Auto" formControlName='vorname' (created)='disableAutocompleteVorname()'></ejs-textbox>
This is the css:
.required:after {
color: #d00;
content: "*";
position: absolute;
margin-left: 3px;
top: -3px;
}
The first asteriks is ok - this does work because I'm using this code:
<span class="custom-label required">Geschlecht</span>
<ejs-radiobutton cssClass="custom-margin" label="männlich" name="geschlecht" [value]='"M"'
formControlName='geschlecht'></ejs-radiobutton>
<ejs-radiobutton cssClass="custom-margin" label="weiblich" name="geschlecht" [value]='"W"'
formControlName='geschlecht'></ejs-radiobutton>
on the other controls without "custom-label" it looks like you can see on the picture. The asteriks is supposed to be right behind "Vorname"