Closed rochapablo closed 7 years ago
I'm getting the follow error:
EXCEPTION: Error in ./TagInputComponent class TagInputComponent - inline template:9:6 caused by: _this.autocompleteItems.filter is not a function ORIGINAL EXCEPTION: _this.autocompleteItems.filter is not a function
This is my component:
this.user = { countries: [] }; this.countries = ['BRL', 'EUA'];
And my template:
<rl-tag-input [(ngModel)]="user.countries" name="countries" autocomplete="true" autocompleteItems="countries" placeholder="Testing placeholder"></rl-tag-input>
What could I be missing?
Never mind, I just had to change the autocompleteItems to [(autocompleteItems)].
autocompleteItems
[(autocompleteItems)]
I'm getting the follow error:
This is my component:
And my template:
What could I be missing?