Tag input does not work without using ngModel
See original GitHub issueI’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 When shooting ngModel does not work, it issues the following error on the console.
This is the html code in question
This way it is sending the error, and it does not work.
Expected behavior I need the tag-input to work without ngModel only with formControlsName.
Minimal reproduction of the problem with instructions (if applicable) I can not reproduce the error.
What do you use to build your app?. Please specify the version Angular CLI
Angular version:
os: linux x64
@angular/common: 4.3.0
@angular/compiler: 4.3.0
@angular/core: 4.3.0
@angular/forms: 4.3.0
@angular/http: 4.3.0
@angular/platform-browser: 4.3.0
@angular/platform-browser-dynamic: 4.3.0
@angular/router: 4.3.0
@angular/upgrade: 4.3.0
@angular/cli: 1.2.0
@angular/compiler-cli: 4.2.5
ngx-chips version: v1.5.0
Browser: Chrome
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
ngModel is not working while update in tag-Inputs
ngModel is not working while update in tag-Inputs · It works fine the array is updated. – Manos Kounelakis · Where, no i...
Read more >Can't bind to 'ngModel' since it isn't a known property of 'tag ...
If 'tag-input' is an Angular component and it has 'ngModel' input, then verify that it is part of this module. If 'tag-input' is...
Read more >Keeping Data in Sync with Two-way Binding Using Ngmodel
In the component class file, I've just set the value of the variable username , which is the same as the formControlName ....
Read more >Angular ng-model Directive - W3Schools
The ng-model directive binds the value of HTML controls (input, select, textarea) to application data. The ng-model Directive. With the ng-model directive ...
Read more >Difference between (change) and (ngModelChange) in Angular
In this post we're going to cover the difference between (change) and (ngModelChange) events with an <input> inside an Angular component.
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
Just replace the object to an array
Maybe that’s the error, how can I improve this, what I need is a string array. But how?