ngParty / ng-metadata

Angular 2 decorators and utils for Angular 1.x
https://hotell.gitbooks.io/ng-metadata/content/
MIT License
355 stars 46 forks source link

Changes to directive value do not trigger changes #204

Open DaSchTour opened 7 years ago

DaSchTour commented 7 years ago

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

aciccarello commented 7 years ago

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