by using below code am adding new row on dropdown change,
if select option 'madhu' in dropdown ,adding new row with same selected madhu .if i select any dropdown madhu,all values are changing to madhu
how to fix this, iwant to add new empty row on dropdown change
js
$scope.rvm = [{}];
$scope.GetAccountBalance = function (index) {
var getAccountBalance = ReceiptsService.GetAccountBalance($scope.customer.ID);
var id = $scope.customer.ID;
alert(id);
if ($scope.rvm.length == (index + 1)) {
$scope.rvm.push({
});
}
Bikesh SrivastavaPosted Sep 20, 2016, 11:04 PM
Delpin Susai RajPosted Sep 20, 2016, 12:34 PM
Delpin Susai RajPosted Sep 20, 2016, 12:34 PM