AngularJs dynamic name for a form inside ng-repeat

前端 未结 2 866
野的像风
野的像风 2020-12-06 09:46

How do I name a form inside ng-repeat with a dynamic name?

2条回答
  •  余生分开走
    2020-12-06 10:04

    You may access the instance of the form by the dynamic name using bracket notation:

    //few form elements

提交回复
热议问题