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.
ng-required stopped working inside ng-if or ng-repeat, version 1.7.6 #16814
Closed
Description
- [ X] bug report
ng-required stopped working,
I am using AngularJS Material tabs,
I have a condition inside each tab for "required" fields.
I have another condition for showing the tabs or not (ng-if).
plunker: http://next.plnkr.co/edit/g6tieIDq9yaEpNre
In this example, the submit button is not working, but the ng-required for the second input (the hidden one) is false!
another example with ng-repeat:
plunker: http://next.plnkr.co/edit/b7STJ5B4Ktcou83y
In this example, the submit button is not working, the second input (inside the ng repeat) is not required.
if we change angular version back to 1.7.5, its working as excepted.
AngularJS version: 1.7.6
Browser: [all ]
Thanks.