Category "angular"

Angular - how do I know which operation has called ngAfterViewChecked()?

Consider a table, the rows of which are built dynamically - i.e. the HTML element contains an *ngIf directive. On different occassions I want to scroll a select

'apiCC.myWebRTC_Adapter.getUserMedia is not a function' apiRTC audio call working on browser but not on android with angular ionic capacitor

I'm using "@angular/core": "~12.1.1", "@ionic/angular": "^6.1.4", and "@apirtc/apirtc": "^4.7.2". I'm implementing an audio call following apiRTC doc and I'm ge

The multi-checker in kendo-grid-column is not displaying items

The items for multi-checker are not displayed when I run the application locally, however, I tried to reproduce the bug on a stackblitz with the exact same situ

Cookies sent from Angular client are null in Spring server

I am setting the cookie in with the command - this.cookieService.set("SessionToken","Niket",20,"null",true,"Lax"); and passing in the interceptor- authReq = re

Generic Events Emitted from Component in Angular ~13

I'm trying to determine if I'm going down an undesirable path with how I'm approaching generic event management in an Angular application. The question I have i

How to consume Alfresco APIs from an angular application?

I have an angular application, and I want to interact with Alfresco community 7.1 via APIs from this List . how can I call these APIs? Another question, I know

How to update html content of an element with angular function?

I have a table fulfilled with ngFor directive. Each line has a title, a badge (Material badge) and a button. I would like to change matBadge value when I click

FormGroup: Dynamic input type breaks value attribute binding

It took me a couple days, but I narrowed it down to the type attribute. In my StackBlitz, the first radio set is just putting an empty string in the FormGroup o

How to prevent the display in the logs of error when using angular httpClient.get?

I've the following method: retrieveAccessToken() { this.httpClient .get(environment.backendUrl + 'accounts/refresh-token') .subscribe({

Howto get value from store ngrx using ngrx entity and multiple reducer

I am newbie with ngrx entity, and also in angular. I am trying to store data in the store with ngrx, with multiple reducers. I think am doing well, but the prob

How to perform validation in reactive form with nested form arrays in table with angular?

Stackblitz link: https://stackblitz.com/edit/angular-ivy-bafyye?file=src/app/components/user-details/user-details.component.ts I have created nested reactive fo

Copy value of a local variable to a global variable [duplicate]

I have this variable declared in global scope: export class InboxmanagementComponent implements OnInit { statmentID: number; // global vari

Better alternative to using concatMap twice within pipe?

I want to execute a pre-defined promise (promise 2) recursively after another promise (promise 1) resolves to see when my connection to a peripheral device retu

Angular WebRTC error: Error: Uncaught (in promise): InvalidStateError: Failed to execute 'setRemoteDescription'

so I have been trying to make a peer-to-peer video-call service using webRTC and I have come across this error and don't really know how to solve it. I don't ha

Instantiating AgGrid as an element of a dynamic component

I would like Ag-grid to be part of a dynamic component in Angular. The host calls componentFactoryResolver on the component which holds the agGrid instance but

Angular Error trying to diff '[object Object]'. Only arrays and iterables are allowed

I have issue with this "Error trying to diff '[object Object]'. Only arrays and iterables are allowed" when i want to get my products in html Here is my product

ERESOLVE Error when installing Angular Material

I'm currently creating a project with Angular 13, the Ionic CLI, and Angular Material. I have no problem adding @angular/material when I don't use Ionic, but us

I want to display a list of products with details dynamically with jspdf-autotable in angular using only typescript

this is what i have as default for my jspdf autoTable(doc, { head: [['Product', 'Quantity', 'Discount', 'Prix']], body: [ ['product1'

Angular ng build time shoot up?

I'm testing ng build --configuration production command: LOCAL PC: ng build time: 1'06'' Build time: 52'' Building time percentage: 78% INTEGRATION SERVER.

How to disable input outline in angular material

I use angular material mat-form-field and matInput. But input has this outline . How can i remove it? <mat-form-field appearance="outline" class="form__item