problem
How to access attribute from array based on value exist on attribute ?
I need to access Fn:'Application' inside array of OtherQualification on
html angular 7 ?
if it have otherQualification - fn - Application
then print exist
else
not exist from html
I attached file with post thread
I need to loop within object json on file attached below then get value
Application for Fn:Application on html
I already have on ts object name objJson have all object below on file
I need to loop on it
on component.html
I need ngfor objJson get otherqualification - fn :application
if exist
then print message exist
else
print message not exist
Result
it will be print Exist according to file attached
because if you check other application array attribute fn :application it
already exist on file
so it will print Exist
check fn application on otherqualification array
objJson : any ; ngOnInit() { this.objJson="what on file attached"; }
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/angular/d967de62-f4cc-47bc-b2c8-5157e606b75e%40googlegroups.com.