question-mark
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.

Angular v6 shows warning about formControlName and ngModel present on the same element

See original GitHub issue

PLEASE MAKE SURE THAT:

  • you searched similar issues online (9/10 issues in this repo are solved by googling, so please…do it)
  • you provide an online demo I can see without having to replicate your environment
  • you help me by debugging your issue, and if you can’t, do go on filling out this form

I’m submitting a … (check one with “x”)

[X] bug report => search github for a similar issue or PR before submitting
[ ] support request/question

Notice: feature requests will be ignored, submit a PR if you'd like

Current behavior

No bugs but forward compatibility with Angular v7.

Expected behavior

No bugs but forward compatibility with Angular v7.

Minimal reproduction of the problem with instructions (if applicable)

Just use Angular v6 above and warning will be shown when the ngx-chips is used in the template.

https://github.com/Gbuomprisco/ngx-chips/blob/f5d218b0f2503aef0cae69a4fee4172e43d40236/modules/components/tag-input-form/tag-input-form.template.html#L11-L12

Angular v6 Warning

What do you use to build your app?. Please specify the version

Angular CLI: 6.0.3

Angular version:

Angular: 6.0.2

ngx-chips version:

ngx-chips: 1.9.2

Browser: all

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:20
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Gbuompriscocommented, Aug 12, 2018

Should be solved with version 1.9.4

1reaction
elessarielcommented, May 31, 2018

I can confirm that. I would also like to see a fix for that.

Read more comments on GitHub >

github_iconTop Results From Across the Web

angular 6 warning for using formControlName and ngModel
You need to go to the next docs: next.angular.io/api/forms/FormControlName#use-with-ngmodel; while v6 is in release candidate the docs still ...
Read more >
FormControlName
Triggers a warning in dev mode that this input should not be used with reactive forms. @Input('ngModel') model: any. Deprecated as of v6....
Read more >
NgModel
This directive is used by itself or as part of a larger form. Use the ngModel selector to activate it. It accepts a...
Read more >
angular/forms
Implements a set of directives and providers to communicate with native DOM elements when building forms to capture user input.
Read more >
SelectControlValueAccessor
The following examples show how to use a select control in a reactive form. content_copy import {Component} from ...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found