Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [angular]

Questions about Angular (not to be confused with AngularJS), the web framework from Google. Use this tag for Angular questions which are not specific to an individual version. For the older AngularJS (1.x) web framework, use the AngularJS tag.

0 votes
1 answer
19 views

npm install angular/cli isnt working - seems stuck midway, no log, no error regarding why it is stuck

Can anyone help me with an issue I have during npm install @angular/cli Below are the details Command I am running: npm install -g @angular/cli What I am seeing: the install starts pulls some ...
Phani's user avatar
  • 861
1 vote
1 answer
13 views

how to trigger ngOnChanges of child component when user comes back to home page in ionic app?

In our ionic app, whenever the user comes back to the home page, we need to run method of child component to get the updated records. Since ionic caches pages, I am changing the input boolean property ...
A_J's user avatar
  • 1,001
0 votes
0 answers
15 views

Angular 18 State Management-Ngrx

I have started an Angular 18 project and decided to use the NgRx state management library. Could you please share your experiences, including any issues you faced as well as the pros and cons of using ...
Naveen NK's user avatar
2 votes
1 answer
16 views

Angular: how to fix Error: NG03600: Angular detected that the `AnimationBuilder` was injected, but animation support was not enabled

When I ran Angular unit test I got the following error many times: Error: NG03600: Angular detected that the AnimationBuilder was injected, but animation support was not enabled. Please make sure that ...
L. Kvri's user avatar
  • 1,612
1 vote
1 answer
53 views

Styles not being applied in Chromium based browsers

I'm working on a project using Angular as the FE framework. I've a simple project setup as following: In the angular.json file I'm importing these files: "styles": [ "src/import....
Jacopo Sciampi's user avatar
0 votes
0 answers
15 views

Kendo Drag And Drop between Two Components in Angular..Is It Possible?

Drag right side component Parameters to drop in Email body component 1: https://i.sstatic.net/OkRseP18.png*strong text* hi Guys, i have two components emailBody Component and PaarametersComponent..I ...
Joseph's user avatar
  • 11
1 vote
2 answers
41 views

Conditional options in <select> using signals

I have a select that should show options based on the status of a game. Code: <select class="form-select" aria-label="Status" [(ngModel)]="selectedGame().status"> ...
jasper heeren's user avatar
0 votes
1 answer
22 views

I am trying to upgrade angular version from 16 to 17 but it throws below error when i do npm start. Can someone tell what to do?

./src/main.ts - Error: Module build failed (from ./node_modules/@ngtools/webpack/src/ivy/index.js): Error: Cannot resolve type entity i11.MatLegacySelectModule to symbol ./src/polyfills.ts - Error: ...
Sonamdeep Kour's user avatar
0 votes
0 answers
26 views

Angular SSR guard and resolver functions are executed on both, client and server

I'm building an SSR Angular app (with provided hydration) and I'm using Resolver and Guard functions. I noticed that they are running on both the server and the client. I believe that it is redundant ...
Martin's user avatar
  • 66
0 votes
1 answer
31 views

How can i replace a @Input setter with signal inputs?

I have a searchbar component that emits on change of the input field so that the consumer can do filtering of list results or call the API with the searchterm as param. However I also want to provide ...
mandrag.ora's user avatar
0 votes
0 answers
15 views

How to translate labels on the y axis in chart.js matrix plugin?

I am using this chart.js extention to create a matrix where I have values from 0 to n on the x axis and labels in string format like "One", "Two", "Three" on the y axis. ...
John Doe's user avatar
  • 191
1 vote
1 answer
47 views

Multiply 2 input fields and show totalAmount in another input field

I want to calculate and show the totalAmount when Amount and Quantity is entered. I am using (keyup) in expense.amount as I want to show as-is in expense.totalAmount. Using (ngModelChange) does not ...
Elaine Byene's user avatar
  • 4,098
0 votes
0 answers
21 views

In primeng 17 if the value set in p-calendar and [maxDate] are same then the value is not showing

here is the demo i made in stackblitz , https://stackblitz.com/edit/nb7yxf?file=src%2Fapp%2Fcalendar-minmax-demo.ts I tried to bind the date value in p-calendar it works for every date except it ...
Janmejay Ghosh's user avatar
1 vote
2 answers
47 views

How to Add Secondary and Success Colors to a Custom Material Theme?

I'm working with Angular 17 and have successfully created a custom Material theme with primary, accent, and warning colors. However, I would like to add additional colors such as secondary and success ...
coder's user avatar
  • 517
-1 votes
2 answers
47 views

Argument of type 'Number' is not assignable to parameter of type 'string | number | null | undefined'. [plugin angular-compiler]

I got the error with DecimalPipe while converting number My code: Service export interface RoomList { roomNumber: number; roomType: string; amenities: string; price: number; photos:...
ToanTV13's user avatar

15 30 50 per page
1 2
3
4 5
17