Project your input or textarea. forId must match the actual control id; id sets a stable base for label, hint and error IDs. Export the field as neuFormField and connect labelId() and mergeDescribedBy() to the native control. prefix and suffix add text beside it. error renders an alert but does not validate or change the child control automatically.
FormField does not own a value, validation or Outputs. The application supplies hint/error text and wires the control relationships. Native projected-control styling in the examples belongs to the application, not to a hidden FormField input.
Use forId for native label activation and aria-labelledby when needed. mergeDescribedBy() combines your existing description IDs with the field hint/error IDs without duplicates. Set aria-invalid on the child when your validation reports an error. Avoid a second competing label on the projected control.
Key
Action
Tab
Follow the normal focus order of links, fields and actions inside the content; the container adds no roving-focus model.
Enter
Activate a focused native button or follow a focused link inside the content.
Space
Activate a focused native button inside the content; fields keep normal text editing.
ng-content projects content into the component. TemplateRef inputs receive a template; ng-template directives identify templates with a typed context. A directive shared by an entrypoint is not necessarily a slot of this component.