angular.js - angularJs's ng-repeat
迷茫
迷茫 2017-05-15 17:05:19
0
3
532

angularJs's ng-repeat loops through a group of <input> controls, adding a string "xxx" between each control. How to add this string?

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(3)
我想大声告诉你
<p class="list">
    <p ng-repeat="item in list">
        <input type="text" ng-model="item.name"/>
        <span>{{item.title}}</span>
    </p>
</p>
黄舟
<ng-repeat-start='item in list'></ng-repeat-start>
    <span ng-bind='item.title' />
    <input type='text' ng-model='item.name' />
<ng-repeat-end></ng-repeat-end>
某草草

Owner, please post the code of the final effect you want to output and have a look

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template