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

107
Views
Angular expression to use javascript filter

Suppose I have a array of object like this below.

ObjLevel: Array(4)
0: {permissionLevelOnUserId: 'e9ab78a5-09ed-4051-a380-1dbc65feb04a', isChecked: true, mode: 'R'}
1: {permissionLevelOnUserId: '0b34dfe7-859d-48f4-bcd6-30c2f92e61da', isChecked: true, mode: 'RWD'}
2: {permissionLevelOnUserId: '912b29a7-081c-4400-bddd-70a7d60000a2', isChecked: true, mode: 'RW'}
3: {permissionLevelOnUserId: 'b7cf6cf7-7ae1-447a-acce-70f31f02921c', isChecked: true, mode: 'NA'}

Now what I want to achieve is that get any object property value using find or filter in the angular expression {{}} Now the thing is I can use *ngFor which is already running before this array object another array of object holds the above object which I don't want to use *ngFor the process i want to extract value from property is like this.

{{ ObjLevel?.find(i => i.mode === 'R').permissionLevelUserId }}

which gives me an error of course like this

Parser Error: Bindings cannot contain assignments at column 30 in [ {{section?.ObjLevel?.find(i => i.mode === 'R').permissionLevelUserId}} ]

How can i achieve this without getting into typescript page and only operating in the HTML page itself.

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!