Ngx-chips: ngOutletContext removed in Angular v5

Created on 23 Oct 2017  路  5Comments  路  Source: Gbuomprisco/ngx-chips

I'm submitting a ... (check one with "x")

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

Current behavior

When using Angular v5 with the library the ngx-chips templates result in an exception about unrecognized directive ngOutletContext

Expected behavior

Since the library is indicated as based on Angular v4 in the readme it would make sense to migrate to the ngTemplateOutletContext directive since ngOutletContext has been deprecated for some time.

Minimal reproduction of the problem with instructions (if applicable)

Update your Angular to v5 rc3 on an app that has the ngx-chips library in it.

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

Angular-cli

Angular version:

Angular v5 rc.3

ngx-chips version:

Latest (built off of /master branch)

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Most helpful comment

Hi @Gbuomprisco,

Do you know when you will publish?

Just tried 1.5.3 and it does not work with Angular 5.

Regards,
Tarek

All 5 comments

PR merged, will publish asap

Hi @Gbuomprisco,

Do you know when you will publish?

Just tried 1.5.3 and it does not work with Angular 5.

Regards,
Tarek

@Gbuomprisco
I update my project to angular 5 today and got this error
Can't bind to 'ngOutletContext' since it isn't a known property of 'ng-template'
when you will update?

By replacing ngOutletContext to ngTemplateOutletContext in all files, it worked for me.

As of 1.5.11, this issue appears to be fixed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sivamamidi-REISys picture sivamamidi-REISys  路  3Comments

ImChamZ picture ImChamZ  路  5Comments

altschuler picture altschuler  路  3Comments

EnochGao picture EnochGao  路  4Comments

RaghulXander picture RaghulXander  路  3Comments