306,546 questions
0
votes
0
answers
85
views
Angular website crashes after navigation in Safari [closed]
We have an Angular 18 application running with SSR that works correctly on most devices, but some iPhone users experience a full browser/WebView crash after loading the website and a certain ...
-1
votes
1
answer
114
views
Why I can't see the the data after I move to transactions subpage?
Let's say I have 2 pages: first, that creates data (transaction) and second that displays the transactions in table. I also have navigation to those subpages ('/create-transaction' and '/transactions')...
-3
votes
0
answers
54
views
Controller function functionality isn't getting updated in MEAN stack app [closed]
I have a MEAN stack app and changes to my controller functions get completely ignored. I have a route to log tickets however (the functionality of the) controller function connected to that route can ...
2
votes
4
answers
146
views
Signal doesn't update when creating a new array of objects
Why doesn't my .set(...) method update the signal when the array is constructed with the spread operator?
What I have is product editor, that features an input of type file, with a preview generator.
...
2
votes
1
answer
64
views
Issue in Angular Material version 21 - animation not working
I used Angular version 21 with Material version 21:
<mat-form-field appearance="outline">
<mat-label>Outline form field</mat-label>
<input matInput placeholder="...
Best practices
1
vote
3
replies
67
views
Any Best Practice Setup Form in Angular 18-20?
I’m currently working on an Angular project and trying to figure out the best way to set up forms in Angular 18–20.
Right now I’m using Reactive Forms, but I’ve seen some discussions about the ...
1
vote
1
answer
74
views
Navbar in Angular not loading pages
I've got a nav bar in my Angular app. But when I click on the different navigational elements it does not reload the page to the other content on the navbar.
I think it is the routerLink= part.
I am ...
1
vote
1
answer
61
views
How can I re-render a parent div element when its @if child content changes?
I have a tooltip element floating above the cursor. The size of the tooltip is obviously dependent on its content. I also need the tooltip to be completely visible inside the viewport, thus I set the ...
1
vote
1
answer
121
views
How to have dynamic schemas for signal forms?
In order to simplify form management in my apps, I have created a form component:
export type MyFormModel = Record<string, number|string>;
export type MyFormFields = MyFormField[];
export type ...
Best practices
0
votes
2
replies
60
views
Best method for loading a new page based on the value of an API response: Call API before or after landing
for some background we are in Angular 20 & using a java-based server for the API.
The client has a use case where they will view a table of URLs matched with data about (an) entity. When they ...
0
votes
1
answer
73
views
Angular does not retrieve request data [closed]
I created an Angular address book to learn how to do CRUD operations, but I think it's not retrieving the data in the request. The idea is to list the contacts using the GET method, as shown below. ...
2
votes
1
answer
71
views
rxResource stuck in loading state on non-HTTP errors
I'm trying to use Angular's rxResource to handle HTTP requests, mainly for the purpose of better ergonomics in the display by utilizing rxResource's hasValue() , error and isLoading().
While it works ...
1
vote
1
answer
120
views
Angular onChange programmatically triggered does not work
I have a component with an input and some extra and if I edit the input field and leave it by tabbing or clicking outside my change work however if I call onChange via code then nothing happens. Here ...
Advice
0
votes
3
replies
92
views
Angular application has two files main.ts and index.html
angular application has two files Main.ts and index.html which one to use.i recently encountered a tutorial called w3schools.com where it contained two files Main.ts and Index.html.can you suggest ...
1
vote
0
answers
59
views
Angular Web Worker error after using Module Federation: importScripts not supported
I’m using Angular with ngx-build-plus and Webpack Module Federation.
I have a Web Worker like this:
const worker = new Worker(new URL('./model.worker.ts', import.meta.url));
Inside the worker, I ...