I have created a component where there is only a text field with some logic. Now I would like to use this component as a child component in another Parent component. Now I have three questions:
- How can I add the child component under the form group of the parent component
- How can I add the required validator whenever needed in any parent component.
- If the child component is used multiple times in a parent component how can I set the name field dynamically?