For questions regarding Angular specific to version 15. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.
Questions tagged [angular15]
342 questions
0
votes
1 answer
Angular Material v15 Update - Theme Not Applied to Legacy Buttons
I'm updating my Angular app to v15. I have a ton of predefined selectors for material components, using the former standard class names (mat-button).
Because the selectors change in v15 (mdc-button), I need to use the legacy material components (the…

ineedtoknow
- 1,283
- 5
- 28
- 46
0
votes
1 answer
Can't make http request with Angular 15
For some reason I can't get my Angular 15 app to send an http request. I'm used to an older version of Angular so I wonder if it's some configuration I'm missing or something. I also already added HttpClientModule under imports in app.module.ts. I…

user6680
- 79
- 6
- 34
- 78
0
votes
1 answer
CORS in ASP.NET Core
I'm getting cors errors in ASP.NET core though I allowed any origin.
Code in Program.cs in API project:
policy.AllowAnyOrigin()
.AllowAnyMethod()
.AllowAnyHeader()
.SetIsOriginAllowedToAllowWildcardSubdomains();
Web…

Shankar Naru
- 163
- 1
- 12
0
votes
1 answer
Refresh parent page grid on close popup in angular
I have hard time to refresh parent page on close popup. As a workaround I am doing window.location.reload() But I don't want to hard refresh the page. Just want to call ngOninit of parent page where I am binding the data to dx-datagrid. This popup…

Mukesh
- 53
- 6
0
votes
0 answers
Block all methods except GET to root url of my application
I am experiencing an issue where any call to my root URL, http://example.com, is returning a 200 response, but I would like to restrict this behavior to only GET methods for security purposes. I have tried multiple approaches such as backend…

Kenzo_Gilead
- 2,187
- 9
- 35
- 60
0
votes
0 answers
Uncaught SyntaxError: Unexpected token '.' from vendor.js in Angular 15
I upgraded from Angular 9 to 15. After the migration when I try to run the application in localhost, I am getting the error
Uncaught SyntaxError: Unexpected token '.' from vendor.js"
in the below line.
private _applyAnimationRefDelays(
…

Madhan Lal JM
- 1
- 1
0
votes
0 answers
How can I make an Ionic custom page transition that waits for the next page to notify it's done loading?
I have an Ionic (v6) Angular (v15) project where I'd like to have custom page transitions that are split into 3 parts:
The current page blurs
The current page performs some infinite loading cycle (When I try to use blur or opacity here, the whole…

Jeremy Friesen
- 383
- 1
- 3
- 13
0
votes
2 answers
TS2552: Cannot find name 'PictureInPictureEvent'. Did you mean 'PictureInPictureEventHandler'?
I have upgraded my Angular app to version 15 from 14.
After upgrade I am getting following errors
Error: node_modules/preact/src/jsx.d.ts:1078:3 - error TS2552: Cannot find name 'PictureInPictureEvent'. Did you mean…

Mahesh Dharwad
- 79
- 1
- 8
0
votes
0 answers
Bundling to UMD removed from Angular 15
From angular 13 and higher version Bundling to UMD step was removed from the dist folder, does anyone knows how does it works now for a library project it looks like there is not way around to have those UMD. How can I make sure that this is…

Franco
- 145
- 1
- 9
0
votes
1 answer
Cannot simulate event in Unit Test using Jasmine
A filter value field is initially '' and after press keyup event the filter value will be updated with the current filter component value. I coded the next unit text but I can't get the updated value and just get the initially value…

Kenzo_Gilead
- 2,187
- 9
- 35
- 60
0
votes
0 answers
Description language in google search with ngx-translate
I have developed a web application in angular15 and I have used ngx-translate to make it multilingual. The problem is that when I search for it on google the description is in English regardless of the language of the browser or the search engine. I…

JMartinezDuarte
- 1
- 2
0
votes
0 answers
Using nz-select in forms and an object as a resource for nzOptions in Angular 15
I am using angular 15 and creating a form where I am using the following code
Employee
0
votes
0 answers
jsPDF.html() function outputs a blank pdf document when called more than once in a session
I have some logic in an Ionic 6 Angular app that outputs a pdf documents using jsPDF v2.5.1. The problem is it only produces a pdf the first time it is called and every time after that I am getting a blank pdf.
async printPdf(elementId: string) {
…

ikertz
- 1
- 1
0
votes
0 answers
How to resolve spawn EPERM issue in angular
When run my angular 15 application i am getting below the error. I am not able to find out the solution for this. How to resole this issue. please help to find the solution.
I am using below the versions.
Node: v16.15.0
npm:8.5.5
RXJS: 7.8.1
ng…

EMahan K
- 417
- 1
- 19
0
votes
0 answers
Uploading CSV file and convert it into table but when use event, the event is deprecated
I'm using Angular 15 and the event is deprecated as this:
export class CsvUploadComponent {
fileSelected: boolean = false;
showTables: boolean = false;
tableHeaders: string[] = [];
tablesData: string[][][] = [];
onFileSelected(event: any)…