Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

search fullname in angular

const response = forkJoin([
  this.service.getUserByFirstName(this.firstName),
  this.service.getUserByLastName(this.lastName)
]);

response.subscribe(
  ([firstNameUsers, lastNameUsers]) => this.users = lodash.intersectionWith(firstNameUsers, lastNameUsers, lodash.isEqual)
);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #search #fullname #angular
ADD COMMENT
Topic
Name
8+7 =