Questions tagged [angular11]

Questions about Angular version 11, the web framework from Google. Use this tag for Angular questions which are specific to only version 11. Use tag Angular for any Angular questions which are not specific to an individual version

700 questions
2
votes
3 answers

api endpoint returns response 404 - Angular

I have method to save image. Initial this.educationalData gives back data in console.log but after that when i try to get id from endpoint. It gives me undefined. UPDATED it is now sending id of 1 but still respond of 404 saveImage() { const file…
2
votes
2 answers

console.log returns api data but ERROR TypeError: Cannot read properties of undefined reading 'name'

I dont understand i've already passed the parent data employeeNumber to user-seminar child component. Here is my child component code export class UserSeminarComponent implements OnInit { @Input() employeeNumber: number; seminar: IUserSeminar; …
Kael
  • 161
  • 2
  • 13
2
votes
0 answers

Upgraded Angular 7 to 11 after that @hallysonh/ngx-imageviewer next, previous and zoom options are not working

I upgrade Angular 7 to 11 after that @hallysonh/ngx-imageviewer@2.0.4 (next, previous and zoom) options are not working. I tried with both node 12.20.0 and 14.15.0.I'm able to view the pdfthese buttons but previous, next, zoom buttons are not…
Karthick
  • 21
  • 2
2
votes
0 answers

Unable to save/download pdf opened in new tab

I am using following code in my angular11 project to convert base64 string to pdf and open it in new tab, this works fine but when I click on save it dose not work, however if do some changes like highlight text or draw something using tools…
SwapnilKumbhar
  • 347
  • 2
  • 5
  • 17
2
votes
0 answers

Polyfill error "Syntax error in regular expression" in Angular application for Internet Explorer 11

My angular application (version 11) is not running in Internet Explorer 11. I get the error Syntax error in regular expression in the polyfills-es5.js file. polyfill error in browser console error in pollyfill-es5.js My polyfills.ts file looks like…
2
votes
1 answer

Angular V11 to V12 : ERROR in Cannot resolve type entity i11.DynamicViewModule to symbol

On updating Angular from V11 to V12 I am getting above error on ng serve. I do not have any DynamicViewModule in my app. not sure why the error is coming, did not get anything online. Not sure what exactly am I missing. Any help would be…
Pinka
  • 165
  • 1
  • 3
  • 12
2
votes
1 answer

How to implement changing placeholder in angular 8+?

I have an array of items. a = ['apple', 'mango', 'grape', 'papaya', 'banana', 'cucumber']. There is an input element with a placeholder as select from fruits (after fruits it should show array elements randomly or in loop infinite no of times and…
Alok Agase
  • 29
  • 4
2
votes
1 answer

Custom Page Permission using Angular 11

I am working on an application in which I am implementing custom permission. There is subscription-based permission that I can't check in auth guard which will be static and I have implemented helper for permission which checks for route and then…
Kamran Khan
  • 1,042
  • 10
  • 21
2
votes
3 answers

Add multiple parameters with same name in Angular 11

What I want to do is adding multiple parameters with same name to request URL with Angular 11: http://example.com/somepath?data=1&data=2&data=3 I've seen this post, but accepted answer is not eligible to me because it is Angular 1. What I've tried…
Learner
  • 417
  • 6
  • 24
2
votes
0 answers

Bootstrap5 collapsible navbar not working in mobile view

I am working with Bootstrap 5 Navigation bar's collapse button functionality in Angular 11. It works fine in desktop site but not in mobile view. One reason I am thinking is that I don't have popper.js installed in the app. Do I need popper.js with…
Akrit
  • 91
  • 1
  • 4
2
votes
0 answers

How to clear old data in angular

I have created timesheet module , here 1st column (3, 3, 3, 3, 3) when ever I entered all it's ok but again when ever I entered 2nd column (5, , , , 5) the three row is not filled me but when ever I submit this it is getting all the rows like…
Makizh
  • 51
  • 1
  • 4
2
votes
0 answers

Static @ViewChildren

I have a situation where I was to replace @ViewChild(Foo, { static: true }) foo!: Foo; with a version that gets several Foo in a list. The expected solution is @ViewChildren(Foo, { static: true }) foos!: QueryList; but @ViewChildren doesn’t…
KRyan
  • 7,308
  • 2
  • 40
  • 68
2
votes
1 answer

Adding data-order attribute value in tag for custom sorting does not recognize order attribute

I am trying to apply custom sorting on a column (Issues-Ids). I have looked different approaches of custom sorting on a specific column but could not find any proper solution. Lastly I tried to follow order-data approach data-order, but when I tried…
2
votes
0 answers

MVC 5 with Angular 11 hot reloading

I'm trying to setup hot reloading for an ASP.NET MVC 5 application along with Angular 11. What I have already achieved: I'm referring to application bundles in Index.cshtml like this: I'm hosting Angular 11 application like this: ng serve…
skywatcher
  • 31
  • 1
  • 4
2
votes
1 answer

RxJS - Tell observable to wait for other observable to emit non null value

I've got this setter which assigns a class member observable systemAreasOptions$. I do it there because it needs to wait for mappedItem$ to have had an emission which is not null. I originially had systemAreasOptions$ assigned at the class level,…
BeniaminoBaggins
  • 11,202
  • 41
  • 152
  • 287