306,828 questions
1
vote
1
answer
14
views
How to prevent Ngb Popover from closing
I implemented a NgbPopover like this:
<ng-template #themepopover>
<!-- popover content -->
</ng-template>
<button class="btn" [ngbPopover]="themepopover" container="body" ...
Advice
0
votes
2
replies
66
views
Risks of using Java 25 LTS versus Java 21 LTS in a new Spring Boot backend
I’m starting an inventory system: multi-branch, reporting, invoicing, which I plan to maintain for several years.
Tentative stack:
Backend: Java + Spring Boot
DB: PostgreSQL
Interface: Angular 21
But ...
2
votes
1
answer
26
views
How to resolved "Could not resolve 'primeng/resources/primeng.css'" while migrating PrimeNG from v17 to v18
I actually migrated my Angular app from 17 to 18. I use PrimeNG, but I have some errors with the PrimeNG style.
In PrimeNG 18, primeng/resources/primeng.css is not found, so I don't know how I can ...
Best practices
0
votes
4
replies
55
views
Can i use *ngIf with [ngTemplateOutlet] on same <ng-container>?
I know it works, I've used this combination many times before, but is it right? What about best practices?
What i meen:
<button (click)="onBtnClick()">toggle</button>
<ng-...
0
votes
1
answer
52
views
Errors in unit tests after updating to Angular v21
After updating an existing app with Zone change detection to Angular v21, I got a lot of errors in the unit tests. I'm getting some NG0100: ExpressionChangedAfterItHasBeenCheckedError errors, but also ...
Tooling
0
votes
1
replies
33
views
Angular: How to Store Text Highlights in a PDF Viewer and Navigate Back to Them Later
Question
I’m using ngx-extended-pdf-viewer to render PDFs inside an Angular application. I need to let users highlight text in the PDF, save those highlights as “references”, and later click a ...
Best practices
1
vote
1
replies
43
views
Angular Signals Objects with Forms
I have the following in an older Angular app.
newTask: Task = { id: 0, description: '',
completed: false, priority: Priority.Normal };
<div>
<input [(ngModel)]="...
-3
votes
0
answers
30
views
request is not generating properly for websocket | Angular
getLiveGraph(uid: number, timeOut: number) {
const config = this.configStore.getData();
return webSocket<LiveGraph>(
`${config.wsBaseUrl}/subscriber/${uid}/live_graph/${timeOut}`
...
0
votes
0
answers
15
views
VS Code Chrome Debugger Opens Wrong File Path
I'm trying to debug an Angular application in VS Code using Chrome DevTools Protocol, but the debugger is opening files in the wrong location due to URL path mapping issues.
Angular dev server running ...
0
votes
2
answers
53
views
HTTP POST time out after 5 minutes Chrome / 10 minutes Firefox
I have an Angular front-end and Quarkus back-end running locally on my machine, without any infrastructure like nginx, Kubernetes, etc.
Using the application, I am uploading large files (order of ...
-1
votes
0
answers
30
views
Why are my docs content pushed to left when I click the table of contents?
I have reviewed all source codes in the //adev/shared-docs/components/table-of-contents/ and //adev/src/app/core/layout/secondary-navigation/, I have no ideas. Please help me. I also searched in ...
-5
votes
0
answers
34
views
Material 18 - Edit chip content with a button [closed]
I recently implemented Material chips (v18) in my Angular app, and it seems that the only way to edit a chip’s content is by double-clicking on it. But in the latest Material version they added an ...
1
vote
0
answers
51
views
withEnabledBlockingInitialNavigation() is required to make hydration work for route component, but Angular tells you not to use it
I'm investigating why our application flickers when running on a slower network such as 3G/4G on a mobile while also using SSR, and I found that the router component disappears after a while, before ...
0
votes
0
answers
25
views
AWS Amplify keeps clearing my session tokes from localStorace after a network droput
I'm a bit frustrated with AWS Amplify, what seems like a basic feature of maintaining sessions is seems to fail if the network drops.
Here is my Cogntio CDK setup, the refreshTokenValidity is set to ...
0
votes
0
answers
61
views
Internal server error: Failed to update Vite client error overlay text
Because of the Angular 20 security issue, I updated to version 20.3.14. But on running the app, getting an error as
[vite] Internal server error: Failed to update Vite client error overlay text.
...