511 questions
-3
votes
0
answers
23
views
Angular Library Update from 15 to 17 [closed]
I'm upgrading my Angular library project from Angular 15 to Angular 17. After updating dependencies like ngx-spinner and @ng-select/ng-select, I'm encountering errors when using them in the library. ...
0
votes
1
answer
56
views
NG Bootstrap modal disable a button in the modal's template
I'm using Angular 17 and ng-bootstrap 16 and I'm creating an ng-bootstrap modal. I have a Template in my component used as the content for the modal. What I want is to enable or disable the Save ...
1
vote
1
answer
64
views
How to add item below the current item through button click of Angular Formarray
Like it says, I want to add an item to the middle of a FormArray. So, I have a FormArray and every FormArray item has a button to add a new FormArray item. However, it currently always adds it to ...
0
votes
3
answers
54
views
New @for Directive in Angular – Dynamic Array Issue
I'm creating a dynamic FormArray within a FormGroup. The only change I've made is switching from *ngFor to the new @for. The issue occurs when I try to remove an element from the FormArray.
Previously,...
0
votes
0
answers
16
views
Angular 17 upgrade - handle ngclass.*breakpoint changes
I am upgrading my medium-sized application from Angular 16 to Angular 17. However, [ngClass.*] breakpoints are no longer supported in ngx-layout for Angular 17. Since my styles are SCSS-based, I need ...
0
votes
3
answers
80
views
Not able to do component inheritance
I am trying to do component inheritance in Angular 17 and cannot figure why its giving me an error. Here is my code structure:
export class ParentComponent {
constructor(public httpService: ...
0
votes
0
answers
26
views
Syncing the width of mat-header-cell and mat-cell
I am having a mat-table with many columns and the data in some of the mat-cells is empty I want my mat-cell to inherit the width of my mat-header-cell.
Note: width of my mat-header-cell is based on ...
0
votes
1
answer
33
views
Angular 17, ng serve does not run in development mode, no source map
I upgraded to Angular 17 and now ng serve does not run in dev mode, no source map is available.
I tried every possible solution I found online related to proxy config, package.json, angular.json. I ...
0
votes
1
answer
67
views
Update angular 17
i updated my Angular application on version 17, before updating i got rid of legacy components, i am also using angular material. But after updating the angular material on 17, i have problem that ...
0
votes
0
answers
62
views
Migration to Angular v17 with ng2 charts v2
I'm working on migration of Angular 14 project to Angular 17. One of the main obstacles is that the app has some ng2 charts that are version 2 which is not compatible with newer versions of Angular. ...
0
votes
0
answers
27
views
Scroll Sync between 2 Cdk virtual viewports header and row
I'm using a separate CDK virtual scroll viewport for the header and need to keep it synchronized with the main row viewport. Currently, I'm using the elementScrolled event of the row viewport to track ...
0
votes
1
answer
322
views
How to Upgrade Angular from v16 to v17 with TypeScript 5.2 and Zone.js 0.14.x Dependencies?
I am trying to upgrade my Angular application from version 16 to version 17, but I’m encountering several dependency conflicts that are blocking the process, and I am facing errors during the update.
...
1
vote
0
answers
44
views
Angular Micro Front End - Main App - Angular 19 and MFE App Agular 17 with Web component technique
I'm trying to run Angular MFE application with Angular different versions using Web component technique. But I'm getting below error.
ERROR RuntimeError: NG0203: inject() must be called from an ...
0
votes
0
answers
15
views
Angular UI not updating after SockJS connect
I try to setup websocket connection in Angular.
When adding the SockJs socket, the buttons are no longer working.
Please help me why is the button no longer responding.
Not working code(Button not ...
0
votes
0
answers
22
views
import { map} from "rxjs/operators". Error: Tuple type '[any]' of length '1' has no element
while importing {map} in file templates.component.ts file
import { map } from "rxjs/operators";
Code snipppet:
this.changeMessage = combineLatest([
this....