I have an NX workspace, running latest NX, Angular & Ionic versions. I have just one host app and one remote.
Right, now I’m trying to create a page with two form controls. When I create a binding either via [(ngModel)]
or via [formControl]
to ion-input
I get an error that ControlValueAccessor is missing. A little bit of debugging has shown that IonInput
and the host app reference different NG_VALUE_ACCESSOR objects. It looks like while being a shared dependency on its own both @ionic/angular/standalone
doesn’t use another shared dependency @angular/forms
, and instead included the token in its build.
Any ideas how this could be fixed? I have the default NX Module Federation setup via the withModuleFederation
helper function with no extra configuration.