Questions tagged [angular15]

For questions regarding Angular specific to version 15. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.

342 questions
0
votes
1 answer

How do I use intersection types in an angular template

I encountered a problem when using intersection types in an angular template. In my component typescript file I have following input: export class ExampleClassComponent { ... @Input() items: Array | Array = []; …
Urastor
  • 91
  • 1
  • 10
0
votes
2 answers

Async function didn not complete within 5000ms

I'm trying to test that the gridApi is initialized properly but I'm getting the error: Async function didn not complete within 5000ms. There are times when the code runs fine but there are time when I must run the code 100 times for it to pass let…
0
votes
0 answers

Angular 15 upgrade with lower version library

We are upgrading our angular app from Angular 13 to Angular 15 which uses a library which is in Angular 13. Currently we want the library to be at 13 as it is consumed by other projects. The library has peer dependencies defined with Angular 13 so…
Annamalai
  • 29
  • 4
0
votes
0 answers

Angular 15 build strange behavior. Build sometine pass, sometime not without source code changes

I have migrated an Angular App from Angular 14 to Angular 15. Application use material. The migration process was: ng update @angular/core@15 @angular/cli@15 ng update @angular/material@15 After these steps, I update all third parties packages, and…
Alaindeseine
  • 3,260
  • 1
  • 11
  • 21
0
votes
0 answers

After Angular 15 upgrade - bundle-dependencies unknown parameter error

After upgrading from angular 13 to 15, the command ng run Web:server:production --bundle-dependencies true is failing. Getting the following error: Error: Unknown argument: bundle-dependencies Need to know what can be done such that the command…
ArthurAkhmerov
  • 159
  • 2
  • 5
0
votes
0 answers

ag-grid-community; ag-grid-enterprise; Angular15 migration

./node_modules/ag-grid-community/dist/styles/ag-grid.css?ngGlobalStyle:6:72 - Error: Module parse failed: Unexpected token (6:72) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file.…
0
votes
1 answer

Data path "" must NOT have additional properties(standalone) angular 14

when I try to generate a new component this error appears:- Schematic input does not validate against the Schema:…
0
votes
1 answer

Adding ngx-dropzone twice in a component to select different Images

I want to add ngx-dropzone in my component so that it can select different imagesenter image description here Here's my HTML code type here
0
votes
0 answers

Cannot get ng-bootstrap component to work outside app.component

I'm facing an issue when working with ng-bootstrap widgets in my angular app. I'm using angular 15 and ng-bootstrap 14 as shown below: @angular-devkit/architect 0.1501.6 @angular-devkit/build-angular 15.1.6 @angular-devkit/core …
0
votes
1 answer

How to deploy Angular 15 app with iis that has multiple apps

I have tried changing the base href in index.html I have also added, the rerouting config.
ertucode
  • 560
  • 2
  • 13
0
votes
1 answer

Disable valueChange due to a writeValue

On my angular component, which implements ControlValueAccessor, I'm having a problem with fields getting blanked. I'm doing this: ngOnInit() { this.formGroup.get('name')?.valueChanges.subscribe(x => { this.formGroup.patchValue(version:…
0
votes
0 answers

FormArray of nested FormGroup

When data is downloaded from the network, I have to dynamically create and push FormGroup elements into a FormArray. But the child component doesn't really exist yet as it'd be created based on the array element existing. So I've got something like…
Gargoyle
  • 9,590
  • 16
  • 80
  • 145
0
votes
0 answers

How to run countdown timer from a given time to time in Angular?

i'm using ngx-countdown for countdown in angular application. I have a situation where i need to set countdown from a time to time. For example, if a order is placed at 11:00AM, i need a cancel button and timer to be shown only till 11:02AM. Here's…
0
votes
1 answer

How to access an array property from a class wrapped inside observable in angular?

I am trying to populate a dropdown by accessing an array property from the class which is wrapped inside an observable. I have an interface like below : export interface IApplicationConfigurationResponse { settings?: Settings[] ]…
I Love Stackoverflow
  • 6,738
  • 20
  • 97
  • 216
0
votes
2 answers

Mat Slider Value in Angular 15

The code used to work in Angular 14 but is not working in Angular 15.