306,853 questions
0
votes
0
answers
6
views
some files (like `routes.json`) are generated into `~/.cache/bazel` by default
I open Angular source code in the VSCode, yarn docs is success, but some files (like routes.json) are generated into ~/.cache/bazel (like ~/.cache/bazel/_bazel_anlexn/64c9487e2f334a74d8f87219256e894b/...
-1
votes
1
answer
38
views
Form with nested arrays and groupform
Any idea what I am doing wrong?
I need to set it up where I have Events that contain a FormGroup and it has Dates as another Array of FormGroup.
I am getting this error "ERROR TypeError: Cannot ...
0
votes
0
answers
27
views
Why does the canActivateChild guard on route gets called before canActivateChild guard on parent route?
When I navigate to SomeChildComponent, I wonder why SOME_CHILD_GUARD is called before SOME_PARENT_GUARD. It makes no sense to me. And I would like the order to be inverted.
I have not found anything ...
0
votes
2
answers
70
views
Nested Array with FormGroup that contains another Array of FormGroup
Any idea what I am doing wrong ?
I need to set it up where I have Events that contains FormGroup and it has Dates as another Array of FormGroup...
What am I doing wrong ?
<div class="control-...
Advice
1
vote
3
replies
53
views
Angular 20 @defer dynamic dependencies
I have an Angular component in a private npm package using ng-packagr and hosted on AWS (CodeArtifact).
The purpose of the component is to be a reactive form field that shows and hides errors based on ...
1
vote
1
answer
38
views
Primeng components failure after Angular 20 update
After updating to Angular 20.3.9, primeng does not apply their styles to the input and button of this html and can not also import the Aura theme:
<form class="cloud" id="login-form&...
Advice
1
vote
1
replies
46
views
Angular: Vitest vs Jasmine/Karma
I am a bit confused with the Angular testing landscape. I have seen that Vitest will become the new default, replacing Karma. The question I then have is what about Jasmine. Does Vitest replace only ...
2
votes
2
answers
72
views
Unable to show/get date values from formarray.controls
I am developing a timesheet form page in Angular 20.
I am using formGroup, FormArray and FormControl classes.
I am facing issues in retrieving and displaying the date values which I am pushing into ...
-2
votes
0
answers
35
views
How to Animate using Canvas in Angular [duplicate]
I am trying to code an animated progress wheel in Angular 20. My animation works in a vanilla javascript environment, but when ported to Angular, nothing draws on the canvas and I'm not sure why. I've ...
0
votes
2
answers
126
views
+50
How to inject values from a .env file into Angular environment.ts files during development and prod builds?
I have an Angular 18 app and need to inject environment variable values from a .env file into my environment.ts file and environment.development.ts. I want the values available during development (ng ...
0
votes
1
answer
52
views
ASP.NET/Angular/Azure: Why does refreshing the page still retrieves old data? The api returns correct data & I've set "no-cache"
To give context, I am using Azure Static Web App linked to GitHub, Azure Container App linked to Docker Hub & have Azure SQL database along with SQL Server setup. This is my first attempt in ...
0
votes
2
answers
62
views
How to bind a form to a single object signal and keep fields in sync?
I'm trying to migrate a simple template-driven form to use Angular Signals.
I’m on Angular 19 (standalone components, using FormsModule) and I would like to:
Keep one object for the product (product)
...
0
votes
0
answers
40
views
PrimeNG p-calendar inside p-table header jumps to (0,0) when using appendTo="body" and misaligns after month navigation
I’m implementing a date filter inside a PrimeNG p-table header using a p-calendar.
Since the table can scroll and uses overflow, I need the calendar popup to appear on top of everything and aligned ...
0
votes
0
answers
36
views
How to send cookies from server to client during SSR (Angular 20)
I am using HttpOnly Cookies for JWT authentication in my Angular v20 app. I have SSR enabled.
During Login, the cookies are sent to the client. I have an HttpInterceptor that seems to work to forward ...
1
vote
1
answer
41
views
How to use PUT with ngx-uploadx?
I'm using Angular 20 and ngx-uploadx, but I can't seem to select a method for the API request. How can I select the method for the request, for example PUT?
This is my code:
const uploadOptions: ...