CustomComponent and required / error markers

Edit:

It seems the missing Required marker was a css problem after all, so ignore this post.


I’m trying to create my own ComboBox-like component.
I have a CustomComponent that contains a TextField and a Button.

So, I want the CustomComponent to get the label, required marker and error marker from the TextField.

The label I can move in initContent, but how should I handle the required/error marker?

I did try to move the required marker:
setRequired(inputField.isRequired());

and then just:
setRequired(true);

But got no marker.
I did think maybe the marker was hidden by my css, but I see no trace of an error marker in the html either.

Does the CustomComponent support a required marker at all?