I'm using an angular child component that implements ControlValueAccessor with reactive forms. The child component is essentially just wrapping another component with a few extra things. So in the parent, when I do this:
<app-child formControlName="foo"></app-child>
the form group knows that foo is required. How, in the child component, do I determine that it's required? I need to add the required attribute in the HTML to the component being wrapped, essentially.