This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
form.$error.required and form.$invalid validators are not syncing #14734
Closed
Description
I was wondering if this is an angular bug. The $invalid is undefined while my $error.required is true when a custom $validators is declared on a directive.
Check this example: http://plnkr.co/edit/NuDGB64IetpcsaVB03T7?p=preview