Hi Sbo..., You should never use the nativeElement this way. It look that you are trying to create a custom validator. Have a look at this article from Pascal <https://blog.thoughtram.io/angular/2016/03/14/custom-validators-in-angular-2.html>, that explains how to do that.
Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
