Angular v6 shows warning about formControlName and ngModel present on the same element
See original GitHub issuePLEASE 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.
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:
- Created 5 years ago
- Reactions:20
- Comments:6 (1 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Should be solved with version 1.9.4
I can confirm that. I would also like to see a fix for that.