Changes to directive value do not trigger changes
DaSchTour opened this issue · comments
Daniel Schuba commented
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
Anthony Ciccarello commented
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