Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

146
Views
based on flag checkbox disable and enable from table using angular 8

I am having List Array like: this is getCall.

[ {"presenter":"Bharath","topic":"Angular","status":"scheduled","emailId":"bharathkumar@gmail.com"}, {"presenter":"Sayyad","topic":"Angular","status":"organized","emailId":"raheemsayyad@gmail.com"},{"presenter":"Kanchan","topic":"APS","status":"scheduled","emailId":"kanchanubey@gmail.com"} ];

if Logged user is kanchanubey@gmail.com is matches to this List of Array emailId. i need to enable checkbox . if not matches need to do disable.

Code :

private getktsession(){ console.log('==', this.sesionUser['emailid']);

this.service.getKtsession().subscribe(data =>{
  console.log('get', data);
  this.ktsessions = data;
  data.filter(user => {
    if(user.emailId === this.sesionUser['emailid']){
      this.isDisabled  =false;
    } else {
      this.isDisabled  =true;
      console.log('else');
      }
  });
});

} HTML code is

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!