Open
Description
I tried using the fix from #16, but unfortunately it doesn't work for me. What I have is something that looks like:
<div ng-repeat="field in fields" class="row form-group" show-errors>
<div class="col-md-8" ng-switch on="field.type">
<select ng-switch-when="select" name="form{{$index}}" class="form-control"></select>
<input type="number" ng-switch-when="number" name="form{{$index}}" class="form-control">
<input type="text" ng-switch-when="text" name="form{{$index}}" class="form-control">
</div>
</div>
This results in the error: show-errors element has no child input elements with a 'name' attribute and a 'form-control' class
However, if I change the code to:
<div ng-repeat="field in fields" class="row form-group" show-errors>
<div class="col-md-8">
<input type="text" name="form{{$index}}" class="form-control">
</div>
</div>
Everything works as expected.
Metadata
Metadata
Assignees
Labels
No labels