Questions tagged [angular13]

For questions regarding programming in Angular specific to version 13. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.

562 questions
-1
votes
2 answers

Populating Global Array from Angular Observable

In my Angular13 component I have an observable sending out a stream of data. I want to do some data manipulation of this data outside of the Observable. myObservable$: Observable> = this.store.select( get it from global…
Scottish Smile
  • 455
  • 7
  • 22
-1
votes
3 answers

Getting [object Object],[object Object] in angular view

I am calling an API that is returning the following object public sealed class ApiResponseModel { //It Determines either the request has been processed successfully or not public bool IsSuccess { get; set; } //It will contains the…
nado1122
  • 19
  • 1
  • 3
-1
votes
1 answer

Issue Last Page display on pagination per items is 2 but it display as 3 why?

I work on angular 13 i face issue on apply pagination numbers 1,2,3 etc. my issue is last page Number must be 2 but it display as 3 why ? I test my web api to check issue I found that last page number is 2 so why it display as 3 . data json returned…
-1
votes
1 answer

I can't find the problem with this error on angular

I got this error on angular enter image description here and this is my service : enter image description here and this is my function on the component.ts enter image description here the problem is on the consol ther is a lot of error : ERROR…
rivra
  • 19
  • 5
-1
votes
1 answer

I am new to angular and i wanted to design (https://bl.ocks.org/ngminhtrung/ef06acdaa036365dd15746effce7f474) collapsible d3 force graph in angular

I want to design this in Angular: https://bl.ocks.org/ngminhtrung/ef06acdaa036365dd15746effce7f474 In angular d3.layout.force() is not working and d3.event is throwing an error. d3.tree().links(nodes); Gives: Property 'links' does not exist on type…
-1
votes
1 answer

Form Array in FormGroupDirective (multiple form in multiple component)

i have a large form so i dived it into 3 component and used them using tabs like 1.tab1 opens component-1 2.tab2 open component-2 3.tab3 open component-3 i create form in the parent component and used the form in the child component using formGroup…
-1
votes
1 answer

./src/main.ts - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/ivy/index.js):

I am using Angular 13.3.9. My error is in ./src/main.ts - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/ivy/index.js): Error: Cannot resolve type entity i23.InputsModule to symbol …
-1
votes
1 answer

How do I remove the "Upload" and "Cancel" buttons from the PrimeNG p-fileupload component?

I'm using Angular 13 with PrimeNG 13. I want to allow a file upload in my form so I have created This…
Dave
  • 15,639
  • 133
  • 442
  • 830
-1
votes
2 answers

How to avoid repetitive reload code in angular

I have a shared card component (shared-card.ts), which is to be reused by more than 10 components. Shared card component has reload button and is displaying an error message based on *ngif. shared-card.component.html
Sarah Mandana
  • 1,474
  • 17
  • 43
-1
votes
2 answers

Why this error trying to split the routes related to a specific module in my Angular application?

I am finding this problem following an Angular course. Basically the instructor it is showing how to split the routing from the app.module.ts file putting the route related to a specific module into the related module. Basically I have an AuthModule…
AndreaNobili
  • 40,955
  • 107
  • 324
  • 596
-1
votes
1 answer

Why am I obtaining this "'id' is specified more than once..." error trying to spread out id and data() from the result returned by Firestore?

it is passed a lot of time from the last time that I worked on Angular and Firebase and I am finding the following simple problem trying to use AngularFire 2 in order to retrieve the entire objects from a Firestore collection (it means the document…
-1
votes
1 answer

access input form in angular and insert data on it

I'm trying to create edit option in angular, but what i need is when i click edit data of this selected item send to form and then display it in inputs form with the ability to edit them what i did is send the id in the endpoint , then using api i…
Talia Dianal
  • 105
  • 1
  • 7
-1
votes
1 answer

Angular 13 SSR Build Serve eror -- ERROR ReferenceError: document is not defined

var canvasElement = document.createElement('canvas'); ^ ReferenceError: document is not defined at C:\Users\aakas\Desktop\ArteryUniversal\dist\Universal\server\main.js:64680:25 at…
-1
votes
2 answers

Is there anyway to show a card/container/div on top of hovered stepper in Angular?

I want to create a tools card to manage steps and show it on top when the mouse is hovered on step like the picture below : Is there any way to do it ?
user12881566
-1
votes
2 answers

Behavior Subject auto load without click issue

There is strange issue I'm encountering at first I try to submit form it succeeds without any issue here is an code excerpt below from page. userRole.ts: ngOnInit() { const userSubscription = this.userManagementService.currentUsersIdValue.pipe( …
user10668235