RequiredIndicator for a Layout

Hi,

this has been discussed for Vaadin 7 but I wonder if there’s a good solution for Vaadin 8:
I have a HorizontalLayout with caption and two components (TextField & Button) inside. Only the TextField has the option to set the RequiredIndicator, so what would be the best approach to set the RequiredIndicator for the whole HorizontalLayout so that the red asterisk is shown right next to the caption?

Thanks in advance!

Since now in V8 there’s the setRequiredIndicatorVisible() method which doesn’t do any validation, shouldn’t there be an easy way to show the required indicator for any component which is added to a FormLayout?