Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ngx-sub-form doesn't build with Angular's Ivy compiler

See original GitHub issue

So, Angular 9 just dropped today, and the Ivy compiler is now default. But if I try to build one of my Angular pages that uses ngx-sub-form while using Ivy, I get the following error:

ERROR in CommissionedArt/src/app/Components/input-form.html:1:26 - error TS2740: Type 'TypedFormGroup<InputForm>' is missing the following properties from type 'FormGroup': _parent, _asyncValidationSubscription, _updateAncestors, _setInitialStatus, and 4 more.

I don’t get this if I disable Ivy and use the old View Engine compiler instead.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:23 (6 by maintainers)

github_iconTop GitHub Comments

zakhenrycommented, Feb 24, 2020
zakhenrycommented, Feb 26, 2020

@CyberBotX good to hear that worked out for you. Your second issue has now become #147 if you want to follow that

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular 13 ng build library fails (ivy partial compilation mode)
I try ng build my-lib and get the below error. I tried reverting the version of node and angular cli but it didn't...
Read more >
naoufelus - StackBlitz
A angular-cli project based on @angular/animations, @angular/compiler, ... "Don't make submit button disabled" The implementation of `submitIfValid` ...
Read more >
Maxime Robert (@maxime1992) / Twitter
Nx 12.8 is here! And it includes support for Micro-frontends using Module Federation and Angular, presets for React and Storybook, support for TypeScript ......
Read more >
Reducing the forms boilerplate — make your Angular forms ...
Reduce the forms boilerplate by creating reusable custom forms controls with the ControlValueAccessor interface. Learn how to create reusable forms, subforms ...
Read more >
[Solved]-Angular 8 / Material : subform not showing errors
The problem is the communication between the components and the reference to the original parent form group. You see, you create the form...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found