306,439 questions
Score of 1
0 answers
48 views
Text input stops receiving keyboard events after cancelling beforeunload confirmation in Chrome
Chrome/Edge lose keyboard input after cancelling beforeunload dialog when closing browser with multiple tabs
I'm investigating what appears to be a Chromium-specific issue and would like to know ...
Score of 0
1 answer
76 views
What's the best way to remove an item from signal form array?
Imagine this form:
import {Component, signal} from '@angular/core';
import {applyEach, FormField, form, min, required, SchemaPathTree} from '@angular/forms/signals';
type Item = {name: string; ...
Score of 2
1 answer
95 views
HttpClient updates component state, but template doesn't refresh after API response
I'm experiencing a strange issue with Angular 21. My HttpClient request succeeds, the component state is updated correctly, but the template still displays wrong.
Environment:
Angular: 21.2.18
Node....
Score of 2
1 answer
81 views
In Vitest with Angular, How to fix Compilation error ''Can't bind to 'myProperty' since it isn't a known property of 'app-a' for running tests?
In vitest, I have a component AComponent which I want to write out for, for writing, but I write test-wrapper TestComponent which uses view child of AComponent in it. TestComponent has HTML template ...
Score of 0
1 answer
74 views
ng2-pdfjs-viewer - Angular 17 - doesn't display PDF - working before
This is about a previously working code for ng2-pdfjs-viewer not working now.
environment:
devl windows laptop
Angular v17.3.x
"ng2-pdfjs-viewer": "^17.0.3",
Action:
Upon clicking ...
Score of -3
0 answers
90 views
Best practice for isolated, highly-available dev/staging/production environments across 2 Angular + 1 Laravel repos [closed]
I have 3 separate repositories that make up one product:
frontend-admin (Angular)
frontend-client (Angular)
backend-api (Laravel)
I need to deploy all three across dev, staging, and production, ...
Score of 3
2 answers
143 views
Angular pipe not reacting to observable/signal?
@Pipe({
name: 'myNumber',
pure: false,//not working with true
standalone: true
})
export class VNumberPipe implements PipeTransform {
intl = inject(IntlService);
translate = ...
Score of 0
2 answers
153 views
TS7053 in a <div> where I'd like to initialize a tag with an indexed value taken from the environment <app-carte [id] = "environment[region + '_id']>"
From an environment.ts that contains values such as:
// Métropole
metropole_id: 'carte_metropole',
metropole_nom: 'Métropole',
metropole_couche_layer: 'GEOGRAPHICALGRIDSYSTEMS.PLANIGNV2',
...
Score of 1
1 answer
125 views
Angular content projection not working as expected
I'm trying to create a component in Angular 21, that acts as a wrapper (s. here). It uses content-projection (<ng-content>), so arbitrary HTML markup and an Angular component can be injected ...
Score of 2
1 answer
89 views
Angular Component Import Error -991010 when using certain Typescript paths [closed]
This is a bit of an odd one, and I've been unable to recreate it on stackblitz.
The project has been around since Angular 8 and has been upgraded to 22. When baseUrl was dropped, we initially used ...
Score of 0
1 answer
146 views
Firebase signInWithRedirect() returns to my app, but never creates a Firebase Authentication user, while signInWithPopup() works
Firebase signInWithRedirect() returns to my app but never creates a Firebase authentication user, while signInWithPopup() works.
I'm seeing behavior that I can't explain. I have a minimal Angular ...
Best practices
1
vote
3
replies
100
views
Dynamic Signal Forms, Reactive Configuration
The angular docs have now a section for dynamic forms using signal forms: https://angular.dev/guide/forms/signals/dynamic-forms-with-json#rendering-the-form-dynamically .
There is however one thing ...
Score of 0
1 answer
130 views
Angular 22 property used before initialization
I have a service injected into a constructor, but I get an error saying property is used before initialization. I never had this issue before Angular 22.
After some research, Angular 22 does use the ...
Advice
0
votes
0
replies
71
views
Trust Pilot inapp review
Our custom element is created successfully and the Verified Review Collector script loads correctly, but the onReady callback is never invoked. Is onReady still expected to fire in the current version ...
Score of 0
1 answer
90 views
Zone.js has detected that ZoneAwarePromise Promise` has been overwritten
I've been troubleshooting the following error for over a month and I can't get it to disappear.
Error: Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.
Most ...