The following code works for allowing multiple inputs in a list:
<ion-content>
<ion-list>
<ion-item ng-repeat="player in players">
<ion-label>Player {{$index+1}}</ion-label>
<input type="text" ng-model="player.name"></input>
</ion-item>
</ion-list>
</ion-content>
And in js
angular.module('ionicApp', ['ionic'])
.controller('MyCtrl', function($scope) {
$scope.players = [{name:'Bart'},{name:'Lisa'}];
});
Each item in the list can be clicked on and a string entered. But when I replace <input> with <ion-input> (as I think I'm supposed to) the items no longer allow string entry, they just flash when clicked. How can that be fixed?