Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when saving the Co-Simulaton Configuration #106

Closed
idhugoid opened this issue Nov 13, 2020 · 1 comment
Closed

Problem when saving the Co-Simulaton Configuration #106

idhugoid opened this issue Nov 13, 2020 · 1 comment
Assignees
Milestone

Comments

@idhugoid
Copy link
Contributor

It looks like you're using ngModel on the same form field as formControlName.
Support for using the ngModel input property and ngModelChange event with
reactive form directives has been deprecated in Angular v6 and will be removed
in Angular v7.

For more information on this, see our API docs here:
https://angular.io/api/forms/FormControlName#use-with-ngmodel

ReactiveErrors.ngModelWarning @ C:\Temp\into-cps-app…s\forms.umd.js:1544
ngModelWarning @ C:\Temp\into-cps-app…s\forms.umd.js:2315
FormControlName.ngOnChanges @ C:\Temp\into-cps-app…s\forms.umd.js:5894
checkAndUpdateDirectiveInline @ C:\Temp\into-cps-app…s\core.umd.js:22116
checkAndUpdateNodeInline @ C:\Temp\into-cps-app…s\core.umd.js:23384
checkAndUpdateNode @ C:\Temp\into-cps-app…s\core.umd.js:23346
debugCheckAndUpdateNode @ C:\Temp\into-cps-app…s\core.umd.js:23980
debugCheckDirectivesFn @ C:\Temp\into-cps-app…s\core.umd.js:23940
eval @ coe-configuration.component.html:464
debugUpdateDirectives @ C:\Temp\into-cps-app…s\core.umd.js:23932
checkAndUpdateView @ C:\Temp\into-cps-app…s\core.umd.js:23328
callViewAction @ C:\Temp\into-cps-app…s\core.umd.js:23569
execEmbeddedViewsAction @ C:\Temp\into-cps-app…s\core.umd.js:23532
checkAndUpdateView @ C:\Temp\into-cps-app…s\core.umd.js:23329
callViewAction @ C:\Temp\into-cps-app…s\core.umd.js:23569
execEmbeddedViewsAction @ C:\Temp\into-cps-app…s\core.umd.js:23532
checkAndUpdateView @ C:\Temp\into-cps-app…s\core.umd.js:23329
callViewAction @ C:\Temp\into-cps-app…s\core.umd.js:23569
execComponentViewsAction @ C:\Temp\into-cps-app…s\core.umd.js:23511
checkAndUpdateView @ C:\Temp\into-cps-app…s\core.umd.js:23334
callViewAction @ C:\Temp\into-cps-app…s\core.umd.js:23569
execComponentViewsAction @ C:\Temp\into-cps-app…s\core.umd.js:23511
checkAndUpdateView @ C:\Temp\into-cps-app…s\core.umd.js:23334
callViewAction @ C:\Temp\into-cps-app…s\core.umd.js:23569
execEmbeddedViewsAction @ C:\Temp\into-cps-app…s\core.umd.js:23532
checkAndUpdateView @ C:\Temp\into-cps-app…s\core.umd.js:23329
callViewAction @ C:\Temp\into-cps-app…s\core.umd.js:23569
execComponentViewsAction @ C:\Temp\into-cps-app…s\core.umd.js:23511
checkAndUpdateView @ C:\Temp\into-cps-app…s\core.umd.js:23334
callWithDebugContext @ C:\Temp\into-cps-app…s\core.umd.js:24198
debugCheckAndUpdateView @ C:\Temp\into-cps-app…s\core.umd.js:23900
ViewRef
.detectChanges @ C:\Temp\into-cps-app…s\core.umd.js:21709
(anonymous) @ C:\Temp\into-cps-app…s\core.umd.js:18164
ApplicationRef.tick @ C:\Temp\into-cps-app…s\core.umd.js:18164
(anonymous) @ C:\Temp\into-cps-app…s\core.umd.js:18055
t.invoke @ @angular.js:2
onInvoke @ C:\Temp\into-cps-app…s\core.umd.js:17344
t.invoke @ @angular.js:2
e.run @ @angular.js:2
NgZone.run @ C:\Temp\into-cps-app…s\core.umd.js:17258
next @ C:\Temp\into-cps-app…s\core.umd.js:18055
schedulerFn @ C:\Temp\into-cps-app…s\core.umd.js:13560
SafeSubscriber.__tryOrUnsub @ C:\Temp\into-cps-app…l\Subscriber.js:205
SafeSubscriber.next @ C:\Temp\into-cps-app…l\Subscriber.js:143
Subscriber._next @ C:\Temp\into-cps-app…al\Subscriber.js:89
Subscriber.next @ C:\Temp\into-cps-app…al\Subscriber.js:66
Subject.next @ C:\Temp\into-cps-app…ernal\Subject.js:60
EventEmitter.emit @ C:\Temp\into-cps-app…s\core.umd.js:13544
checkStable @ C:\Temp\into-cps-app…s\core.umd.js:17313
onLeave @ C:\Temp\into-cps-app…s\core.umd.js:17380
onInvokeTask @ C:\Temp\into-cps-app…s\core.umd.js:17338
t.invokeTask @ @angular.js:2
e.runTask @ @angular.js:2
e.invokeTask @ @angular.js:2
p @ @angular.js:2
d @ @angular.js:2

@idhugoid idhugoid added this to the 4.0.2 milestone Nov 13, 2020
@idhugoid idhugoid assigned idhugoid and Unsongheroes and unassigned idhugoid Nov 13, 2020
@idhugoid
Copy link
Contributor Author

According to https://angular.io/guide/deprecations#ngmodel-with-reactive-forms

We want to move towards the Reactive Forms approach.

<input [formControl]="control">
this.control.setValue('some value');

We have 106 changes to make. Bumped to next milestone.... Only urgent with Angular upgrade!

@idhugoid idhugoid modified the milestones: 4.0.2, 4.0.3 Jan 29, 2021
@Unsongheroes Unsongheroes modified the milestones: 4.0.3, 4.0.4 Apr 16, 2021
@Unsongheroes Unsongheroes removed their assignment Jun 25, 2021
@gi11 gi11 closed this as completed Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants