ngParty / ng-metadata

Angular 2 decorators and utils for Angular 1.x

Home Page:https://hotell.gitbooks.io/ng-metadata/content/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Changes to directive value do not trigger changes

DaSchTour opened this issue · comments

As I understood from the documentation it should be possible to change the input value of a directive. But in fact changing the value doesn't do anything.
See my example here: https://plnkr.co/edit/eHkmFJmmskANN7JUoMmT

That example does not work because the input name is the same as the directive name. Does anyone know if that is supposed to be supported?

Here is an example of ngOnChanges working for a directive: https://plnkr.co/edit/xJQb71v6XeqvzZoc6yJo?p=preview