AngularJS: ng-model inside ng-repeat?

前端 未结 4 679
野的像风
野的像风 2020-12-08 10:39

I\'m trying to generate form inputs with ng-repeat. Note: \'customFields\' is an array of field names: [\"Age\", \"Weight\", \"Ethnicity\"].

 
4条回答
  •  甜味超标
    2020-12-08 11:25

    Any on who ends up here For ng-model inside ng-repeat

    http://jsfiddle.net/sirhc/z9cGm/

    the above link has good description on how to use it with examples

提交回复
热议问题