4,703 questions
0 votes
1 answer
275 views
Error uploading files to AWS S3 from Angular 15 with AWS SDK v2.1692.0: "Cannot find name 'Buffer'"
I've been using a block of code to upload images and documents from my Angular 8 application to my bucket in AWS S3 using "aws-sdk; v2.1237.0", which has been working fairly well without ...
1 vote
1 answer
72 views
P-Dialog content is getting cut when zooming in
I added a PrimeNG dialog with an image inside. I want to zoom in and out of the image using the scroll. It seems like the p-dialog has the overflow property set to auto, but my content keeps getting ...
-3 votes
2 answers
55 views
How to search data inside two different array and copy the matching data into new array in Angular 8 [closed]
I have array1 and array2 in below data.i wanted to iterate all factoryId of array1 and need to check if same factoryid is present in array2. if factoryId of array1 is matching with array2 factoryId , ...
0 votes
1 answer
55 views
Load all Angular Material Style in single CSS file, instead of loading style at runtime
In my Angular 8 Application multiple style tags are getting generated at runtime for Angular Material. I want to add some CSP attribute all my style tag after build is completed. For that I want my ...
0 votes
0 answers
207 views
Angular upgrade 7 to 8
When I use this command ng update @angular/cli@8 @angular/core@8 I'm encountering an issue while trying to update Angular CLI and its core packages: Package not installed: "@angular/core". ...
0 votes
0 answers
85 views
disable browser back button in angular 8
I want to disable browser back button on specific condition, after implementing several snippets like History,popstate etc scenario 1: its making the code not able to use back button for anything ...
0 votes
1 answer
48 views
Generate response based on date provide in Angular
I have a JSON reponse. Response JSON: [ { "price": 388, "created_date": "2019-07-30T17:01:38", "created_user": "PQR" }, { "...
2 votes
1 answer
115 views
How to compare values of two JSON object Angular 8
I have two objects obj1 and obj2 with key and value pairs, I want to compare the values of obj1 and obj2, and if both the objects are equal than it return false else true. Note : Some keys are missing ...
1 vote
0 answers
134 views
Angular Material mat-paginator per-page Dropdown Position
I'm working on an Angular 8.0.0 project using "@angular/material": "8.0.1" For the mat-paginator there are per-page options [5, 10, 20, 50, 100] When selecting any of the options, ...
1 vote
1 answer
63 views
Angular 8 - Display array data in table
I have JSON in the below format. [ { "group": "A", "teams": [ { "id": 1, "name": "France" }, { ...
0 votes
2 answers
112 views
update angular 8 to 9
I am trying to update from 8 to 9 I get this: Using package manager: 'npm' Collecting installed dependencies... Found 85 dependencies. Fetching dependency metadata from registry... Updating ...
0 votes
2 answers
61 views
How to manipulate Array of Object based on condition Angular 8
I am getting below array of object from api response, i wanted to create one function which manipulate the data and enable and disable the flag based on below condition. API Response const data = [ ...
0 votes
2 answers
80 views
How to make Cancellable api calls in loop in Angular?
I have a list containing parameters, such as: [ {a:1a,b:1b,c:1c}, {a:2a,b:2b,c:2c}, {a:3a,b:3b,c:3c} ] For each parameter object, I aim to initiate three consecutive API calls, each with ...
1 vote
1 answer
77 views
How to submit the formarray in angular in the given format?
While submitting the form in angular, the data should pass like given below. Inside role menu only 1st index is passing. I want all the index data to be passed on submit. { "roleMenu":[{ ...
0 votes
0 answers
35 views
how to download Angular8 source code and make a fix for it in local
We need to fix a angular8 security bug. I need to download Angular8 source code and make a fix. Where can I get the Angular8 source code and What is the best practice for a such fix? (upgrade is not ...