Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk2 min

Angular NG01354: Fix NgModel in a Child Component That Cannot Reach the Parent Form

NG01354 occurs when a child component’s ngModel cannot see the parent form. Use the matching form directive in viewProviders, or opt out with standalone mode.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Angular error NG01354 means an ngModel control inside a child component cannot register with the form in its parent component. To include the control in that form, expose the parent’s form directive through the child component’s viewProviders: use NgForm for a template-driven form or FormGroupDirective for a reactive form. If the control should be independent, mark it standalone instead.

Why NG01354 happens

Angular’s NgModel looks for a form container by injecting ControlContainer with @Host(). That host boundary prevents the lookup from crossing a component boundary. If a parent component owns the form and a child component owns the input, the child’s ngModel cannot see the parent form directive and cannot register with it.

As an Amazon Associate I earn from qualifying purchases.

The child control consequently does not participate in the parent form’s value, validity, or submission state. This is a component-boundary registration problem, not necessarily a misspelled model binding. See Angular’s NG01354 documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Make the child control part of the parent form

Expose the form directive that matches the parent’s form style through the child component’s viewProviders. Import the named classes from @angular/forms.

For a template-driven parent form

If the parent uses a regular template-driven <form> handled by NgForm, add this provider to the child component:

import { ControlContainer, NgForm } from '@angular/forms';

@Component({
  // ...
  viewProviders: [
    { provide: ControlContainer, useExisting: NgForm }
  ]
})
export class ChildComponent {}

This lets the child’s ngModel resolve the parent’s NgForm and register with it.

For a reactive parent form

If the parent uses [formGroup], expose FormGroupDirective instead:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
import { ControlContainer, FormGroupDirective } from '@angular/forms';

@Component({
  // ...
  viewProviders: [
    { provide: ControlContainer, useExisting: FormGroupDirective }
  ]
})
export class ChildComponent {}

Use the directive corresponding to the parent form. A template-driven form uses NgForm; a reactive form uses FormGroupDirective. Angular documents that this allows child controls to be seen and validated by the parent form.

Keep the control independent instead

If the input should not contribute to the parent form, opt it out explicitly with standalone mode:

<input [(ngModel)]="value" [ngModelOptions]="{standalone: true}">

This makes the control independent; it does not register the control with the parent form. Choose it only when exclusion from the parent’s value, validity, and submission state is intended.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Check which component owns the form and control

  1. Use the NG01354 warning’s call stack to find the ngModel that triggered the error.

    Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  2. Identify which component owns the <form> element and which component owns the input.

  3. If they are different components and the input belongs in the parent form, add the matching ControlContainer provider to the child.

  4. If the input should be excluded from the parent form, set [ngModelOptions]="{standalone: true}" on that control.

Angular’s documented explanation and remedies are available in its NG01354 error reference. The page identified itself as Angular v22.2.1+sha-fa63bfa when accessed on October 7, 2026.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.