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
2 answers
Why does my matDialog not render correctly with Angular v15?
so recently I updated my project to version 15 of Angular. I followed the guide from the official Angular documents, however, ever since I removed my entryComponents, my MatDialog does not open correctly. I have since also transformed every…

FishyK
- 121
- 1
- 7
0
votes
0 answers
OnBlur blocking the save event angular 15
I have an angular reactive form with various fields, there is one field on which I have kept an onBlur event to call API from the backend.
The problem is sometimes if I type something in that field and without removing focus click on the save button…

SS_1528
- 61
- 5
0
votes
1 answer
Angular material timepicker
Is there an angular material component like this? link
This component is not working on Firefox.
I need to have the same functions and a step of 30 minutes.
How can I do?

Giulia francalancia
- 11
- 2
0
votes
1 answer
Angular material timepicker insert a minute gap
I have this material component in Angular 15.
{{'DOCTOR_AREA.START_TIME' | translate}}

Giulia francalancia
- 11
- 2
0
votes
0 answers
'svg-to-ts' is not recognized as an internal or external command (Angular 15)
I had the 'svg-to-ts' package installed and it worked ok and created ts files normaly.
However, when I started to upgrade my application to angular 15 from 10, the package stopped working.
When I return the version of the package to the previous…

neca
- 119
- 1
- 10
0
votes
0 answers
How add multiimports in a Library using Angular 15 for?
this is my project structure.project structure
testmultiimports-example is a generic test project of my library.
I want to change the import path for a generic import within a specific folder. I try to use a wildcard in a path mapping but doesn't…

user22209723
- 1
- 1
0
votes
0 answers
How to get the page load time including api calls after routing to a new url in Angular 15?
I was trying to get the page load time in my code after all the API calls returned a response, and all the scripts, images etc have been downloaded.
Image of what I want
I want the time circled in red in my code, or at the very least, be able to…

Osama Naaz
- 1
- 1
0
votes
0 answers
Webpack upgrade to 5 issue
I am getting following error in my file. I don't have any reference to 'env' for webpack still giving following error
[ERROR] [webpack-cli] Invalid configuration object. Webpack has been initialized using a configuration object that does not match…

User2
- 1,293
- 8
- 17
0
votes
0 answers
How to use named router outlet from within submodule
I have an app component html as below, which has two router outlets, one primary and other auxiliary with name.
I want most of my routes to fall under primary router outlet, which will display content with side menu component and I have few routes…

darkmatter
- 25
- 3
0
votes
0 answers
Angular Module with Router overrides default routes
I am using my TestModule in main routing.module.ts which is available on the path /test
{
path: "test",
loadChildren: () => import('../pages/test.module').then(m => m.TestModule),
},
And here is test.module.ts
const routes: Routes…

Oleg Om
- 429
- 5
- 15
0
votes
0 answers
Publishing Angular Libraries with Ivy fully compilation Mode to a private NPM Registry
After setting up a private hosted npm registry (verdaccio) and attempting to publish our Angular libraries to it, I encountered an issue that I'm seeking help with. When I build and attempt to publish using the following command:
npm publish…

JanMod
- 364
- 2
- 9
0
votes
1 answer
ngIf with reactive forms in angular 15
I am developing a web application using angular 15. I am using reactive forms. I want to display a div while data is being retrieved and hide it upon successful data retrieval. I am using *ngIf="isLoading". isLoading is the variable defined in…

Ajit_S
- 3
- 2
0
votes
0 answers
Dispatching multi events in emits only last event after upgrading to angular 15
After upgrading to Angular15, we have a change in the behaviour of subscribing to events (redux)
We are dispatching multiple events, one after the other within router.events.subscribe
however, only last event arrives to the subscribe…

M. Choen
- 26
- 3
0
votes
0 answers
CORS is not working if your API is the subdomain and your SPA is the main
So here is my setup
API = api.dev.mydomain.com
SPA = dev.mydomain.com
the cors is not working here, is it because the SPA is the parent and the api is the subdomain?
CORS setup:
builder.Services.AddCors(opt =>
{
opt.AddPolicy(policy, builder…

homerio
- 1
- 2
0
votes
0 answers
angular 15 build process
I have angular 6 application and we use mediaelement 4.2.9 as part of the video display wherein if we do ng build --configuration=local/production --watch the .svg files for controls were not created separately however they were part of the .js file…

Dev Developer
- 115
- 2
- 13