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.
Unable to create dynamic input in forms and do error validation #1738
Closed
Description
Im trying to create a dynamic form based on the fields in an entity and have it auto validate.
If I create each input in the form based on an ng-repeat, and set "name" and "ng-required" attribtues based on values in my scope, it doesn't seem to update the validation attributes when editing the form. If I supply a literal value for the "name" and "ng-required" attributes then it works fine.
Here's a JSFiddle to demonstrate it.
Metadata
Metadata
Assignees
Labels
No labels