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.
Support binding of form input name #3155
Closed
Description
Currently if you try something like
<form name='myForm'>
<input type='text' name='{{varInScope}}'></input>
</form>
then the errors and other values are placed on $scope.myForm['{{varInScope}}'] rather than $scope.myForm['']
Having something like ng-name that added support for this would be immensely useful for dynamic generation of forms (e.g., with inputs under an ng-repeat).
Metadata
Metadata
Assignees
Labels
No labels