TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mahesh Reddy
NA
363
17.4k
Push multiple values into single model
Feb 6 2020 3:40 AM
Hi,
I have 4 values in customer array like below
CustomerId
1,2,3,4
ex:OrderId=1 has 2 customer id's (2,3)
after clicking of edit button
in multiple checkbox it was checking last customerid
i need to check 2 customer id's
coudl you please help me
Js
for
(
var
i = 0; i < $scope.Customer.length; i++) {
for
(
var
j = 0; j < data.length; j++) {
if
(data[j].CustomerID == $scope.Customer[i].id) {
$scope.CId = [$scope.Customer[i]];
break
;
}
}
}
html
<div ng-dropdown-multiselect=
""
extra-settings=
"dropdownSetting"
options=
"Customer"
selected-model=
"CId"
checkboxes=
"true"
style=
"display: inline; width: 252px;"
></div>
Reply
Answers (
1
)
How to check internet connection in Jwt interceptor in angul
FileLoadException: Could not load file or assembly 'Microsof