Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
37 views

I'm trying to dynamically update inputs of my Angular components using ViewContainerRef.createComponent. Currently, my components inherit input signal properties from this directive: @Directive() ...
Andy88's user avatar
  • 767
1 vote
1 answer
77 views

After updating to Angular 20.3.9, primeng does not apply their styles to the input and button of this html and can not also import the Aura theme: <form class="cloud" id="login-form&...
Horacio García Magallanes's user avatar
1 vote
0 answers
78 views

Background: I am working on an Angular 20.3.10 application where I use signals for managing the state of a collection of toast messages. I have SSR and Zoneless enabled and have a web worker ...
Asad Koths's user avatar
1 vote
2 answers
84 views

I try to prevent user to navigate to a non-existent id parameters with my details component. I read the documentation of Angular v20 and it seems that the "resolvers routes configuring" is ...
Thibault Bruhiere's user avatar
1 vote
1 answer
62 views

I'm currently running into an issue/question about optional chaining in Angular. I'm running Angular 20, with "strictTemplates": true enabled as angularCompilerOptions and "strict":...
Dennis's user avatar
  • 11
1 vote
1 answer
54 views

I'm using Angular 20, and I need to create a component that works like a React Error Boundary. The idea is: If there are no errors inside the child components, it should render the normal content. ...
Dmytro Khilchuk's user avatar
3 votes
1 answer
252 views

After upgrading my Angular project to version 20, ESLint started throwing the following error when I run linting (using Nx): [error] (node:20947) ESLintIgnoreWarning: The ".eslintignore" ...
Alireza Ahmadi's user avatar
1 vote
1 answer
72 views

I switched from Angular 16 to Angular 20 and suddenly Angular is not loading my configuration data. There is a file with my Kubernetes setup in: src - assets - config - config.json ...
DigitalMachine's user avatar
1 vote
3 answers
99 views

In the template, I am trying to group the elements within the ul and li. I know that i can be achieved with pipe by grouping other way. when I tried with template with conditional literals, like below ...
3gwebtrain's user avatar
  • 15.5k
2 votes
2 answers
66 views

I'm using a Angular 20 with Reactive forms. Even after applying Validators.required to some controls, the form still includes empty string ("") or Null values when I log or submit form. I ...
Shantanu Patil's user avatar
1 vote
1 answer
158 views

I migrated one of our projects from Angular 18 to Angular 20. The projects is strutured in this way: project_name -- projects ---- frontend ---- lib ------ src ------ lib -------- i18n -------- public-...
AngelPoyel's user avatar
0 votes
0 answers
51 views

I'm using Angular Material's mat-form-field with appearance="outline" and a prefix icon (matPrefix). On initial render, when the input is empty, the label appears too close to the prefix ...
Muthukani K's user avatar
0 votes
0 answers
32 views

I’m developing a standalone component in Angular 20 and I’m getting this error: ERROR TypeError: ctx.widgetSize is not a function at SanctionWidgetComponent_Template (sanction-widget.component....
Andy88's user avatar
  • 767
2 votes
1 answer
156 views

I have main route: { path: 'signup', loadComponent: () => import('./signup/signup.component').then(m => m.SignUpComponent), children: signUpRoutes }, and inside signUpRoutes I ...
A. Gladkiy's user avatar
  • 3,502
1 vote
0 answers
208 views

I'm currently working on an Angular 20 project with Server-Side Rendering and the ngx-translate library. I've already read through the ngx-translate docs and found this about fixing UI glitches when ...
Bob Gravity's user avatar
5 votes
0 answers
150 views

After upgrading my angular project from 19.2.15 to 20.3.1 My project's compile time (ng build) when from 85.426 seconds to 453.679 seconds. The resulted bundle size difference is minimal (different by ...
aii-yin's user avatar
  • 388
4 votes
3 answers
691 views

I've recently created a new Angular application (v20.3.0) and I installed TailwindCSS v4, using the Angular documentation guideline which is very simple to do (also TailwindCSS in its documentation ...
Karim Garali's user avatar
1 vote
0 answers
134 views

I have portfolio web needed help for the latest Angular 20 version for prerender options to generate static html pages for better seo purpose. Need help with how to enable prerender in website without ...
Hiral Shihora's user avatar
4 votes
1 answer
932 views

In Angular v20, @angular/animations package is now deprecated in favor of pure CSS. I wonder since i cannot find any information about that anywhere, is there plans to remove that deprecated package?
amaredeum's user avatar
  • 403
2 votes
6 answers
667 views

With the latest angular version, @angular/animations is being deprecated. I am struggling with migrating an animation in my application. This minimal example shows the animated height. Minimal example:...
stiil's user avatar
  • 147
-3 votes
2 answers
79 views

I am receiving a string from the API textInsert = "<p>Hello</p><br><p>There</p>" I wish to use the with <ion-text color="secondary"> {{...
Thomas Degroot's user avatar
-4 votes
1 answer
237 views

When I subscribe and update the signal getting error as follows. Error detail: ERROR RuntimeError: NG0602: toSignal() cannot be called from within a reactive context. Invoking toSignal causes new ...
3gwebtrain's user avatar
  • 15.5k
1 vote
1 answer
117 views

I am new to Angular. I started with Angular 19 that were using zone.js for change detection. But then I moved to Angular 20 and now I am using zoneless. I have a put method call that I am trying to ...
Basit's user avatar
  • 8,770
0 votes
0 answers
168 views

We have Angular hybrid application where we are using PrimeNg20 with Angulra20. Tries with below dependencies: "primeicons": "^7.0.0", "@primeuix/themes": "1.2.3&...
Kanti's user avatar
  • 1,092
1 vote
1 answer
380 views

I'm doing the following, which works as expected. <ng-container *ngComponentOutlet=" step.component | async; inputs: { someId: someId, stepper: stepper, step: step, ...
Konrad Viltersten's user avatar
1 vote
1 answer
100 views

In the docs for Angular host directive, it's stated that I can use my inputs/outputs in the template like this. @Component({ ... template: "ID {{someId}}", hostDirectives: [ { directive: ...
Konrad Viltersten's user avatar
2 votes
1 answer
436 views

In the html, I have to iterate over a WritableSignal object variableList(), but this html code will not run the loop unless the json string of the variableList() will show correctly in the same html. ...
Juergen Gross's user avatar
-2 votes
1 answer
311 views

After upgrading my angular 19 ng package to angular 20, it seems that the lib folder is missing in the build of the package. After running ng build my-lib the lib folder misses under dist/. I tried ...
himtim's user avatar
  • 312
0 votes
1 answer
242 views

Although I have used a previous stackoverflow solution, I still get the same error. The other problem is that there is no script in Angular 20 that has @NgModule. Here is the code I have: navbar.html ...
JOEMface's user avatar
2 votes
1 answer
94 views

I have to mange a relation for X*2=Y, there Y and Y are input fields. In the moment, I trigger by a change of the input field the related variable as X changed => Y=X*2 Y changed => X=Y/2 import ...
Juergen Gross's user avatar
2 votes
1 answer
258 views

Having updated an Angular v19 app to Angular v20, the Google Maps API is not being loaded in the Karma unit tests. All the unit tests on components which serve Google Maps fail with the following ...
Winthorpe's user avatar
  • 1,272
0 votes
1 answer
3k views

Trying out Angular 20. Getting the deprecation warning for all my control flow elements. 'NgSwitchDefault' is deprecated. 'NgSwitchCase' is deprecated. 'NgSwitch' is deprecated. 'NgFor' is deprecated....
Naren Murali's user avatar
  • 66.2k
8 votes
3 answers
4k views

After updating Angular 19 to Angular 20 while having @ng-bootstrap/ng-bootstrap I receive the error: X [ERROR] No matching export in "node_modules/@angular/core/fesm2022/core.mjs" for ...
Krant's user avatar
  • 183
1 vote
1 answer
308 views

I have just updated my Angular app from version 19 to v 20. The updated seemed to work fine except the JSON files in my assets folder no longer. I have a config.json file in the assets folder which is ...
user2174904's user avatar
1 vote
2 answers
788 views

I have been trying out the new Angular 20, I noticed a few test cases were failing, the test cases specifically were using ng-reflect-* to identify elements to test. Below are two examples and ...
Naren Murali's user avatar
  • 66.2k