Ngx-chips: AoT issue

Created on 3 Feb 2017  路  3Comments  路  Source: Gbuomprisco/ngx-chips

I'm using v0.7.9 and getting this error when compiling with AoT (using angular cli).

ERROR in Template parse errors:
Can't bind to 'index' since it isn't a known property of 'tag'. ("own)="handleKeydown($event, item)"
             (onTagEdited)="onTagEdited.emit(item)"
             [ERROR ->][index]="i"
             [attr.tabindex]="readonly ? -1 : 0"
             [class.readonly]="readonly""): TagInputComponent@16:13

It's weird because TagComponent _does_ have an index input (https://github.com/Gbuomprisco/ng2-tag-input/blob/master/modules/components/tag/tag.component.ts#L60).

bug

Most helpful comment

Hi everyone,

can you try the version 0.8.0? It is not under the tag latest, so you need to specify it :)

It is working on my local, not sure why that error, I just tried adding the modifier!

All 3 comments

It compiles with "angular-cli": "1.0.0-beta.28.3" but fails with "@angular/cli": "1.0.0-beta.30".

Hi everyone,

can you try the version 0.8.0? It is not under the tag latest, so you need to specify it :)

It is working on my local, not sure why that error, I just tried adding the modifier!

0.8.0 works with "@angular/cli": "1.0.0-beta.30"

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AVykhrystyuk picture AVykhrystyuk  路  3Comments

RaghulXander picture RaghulXander  路  3Comments

cyrilrbt picture cyrilrbt  路  4Comments

lukas-bernert picture lukas-bernert  路  4Comments

HDaghash picture HDaghash  路  4Comments