I have an input text field like this
and my dire
In the hope that this helps someone else...the problem is in the template.
When I pass the input as [myDirective]="A" the A is being intpreted as an undefined variable. Since I wanted to pass the letter A I should have said [myDirective]="'A'"