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
1
vote
0 answers

Wrapping a body template in primeNg table in component

I have a p-table of primeNg in angular. Some rows in the table are expanded to a sub table with same body as the main table. Therefore I want to extract the template of the body to a component. but I don't see this component redered. What's wrong in…
chani
  • 11
  • 3
1
vote
0 answers

Typeerror: cannot read properties of undefined (reading 'cssRules') Angular SSR

After angular upgrade from 11 to 15 started getting this error. I am using nodejs version 16.15.1 TypeError: Cannot read properties of undefined (reading 'cssRules') at appendStylesTo…
1
vote
1 answer

What is causing the 502 errors from Nginx after upgrading Angular version with SSR enabled?

I recently updgraded my project from Angular 14 to 15 and started receive 502 errors. Project works with SSR and Nginx So, I locally run npm run build:ssr receive server and browser dirs, move them on server and on server run nginx in docker with…
1
vote
0 answers

Angular: serve all build files from a subdirectory

I'm building an Angular 15 application and I'd like to have all the files served to the end user from a subdirectory rather than from the domain root. For example, what now is GET http://example.com/main.js should be GET…
1
vote
0 answers

Angular Material 15 theming, list-theme

I have this error when I want to compile. The error comes from the line @include mat.list-theme($cdk-sidemenu-theme); I tried to consult the documentation, but it didn't really help me. I assume the error is from the parameter I am using angular…
1
vote
1 answer

Invariant Violation: expected hoisted manifest for ngx-build-plus in yarn install

I have updated angular application to 15 and i try to update ngx-build-plus to 15 but facing below error Invariant Violation: expected hoisted manifest…
1
vote
0 answers

Angular 15 Material - CSS for Disabled Form Fields

Since our update to Angular 15, end users have been upset about the opacity of disabled form fields. I have been trying without success to access the class structure in css. I have tried everything from: .mat-mdc-form-field,…
Adam Raetz
  • 61
  • 5
1
vote
1 answer

Angular15 - Wait until I receive data from API call on ngOnInit then call ngAfterViewInit

I am making a below api call on ngOnInit I want to force it to wait untill data returned to Dto before calling to ngAfterViewInit event as I am doing operation on that data there. As such its not waiting and moving to ngAfterViewInit where my Dto is…
Mukesh
  • 53
  • 6
1
vote
1 answer

This version of CLI is only compatible with Angular versions ^15.0.0, but Angular version 16.0.0 was found instead

any help for this message i still migrate my angular project from 8.2 to 15 ( **version by version **) but i still have this problem : This version of CLI is only compatible with Angular versions ^15.0.0, but Angular version 16.0.0 was found…
1
vote
0 answers

CalendarEvents dont show data in angular 15

Im devoloping a calendar with some events from database but dont appear any event in calendar. I follow this demo https://mattlewis92.github.io/angular-calendar/#/no-events-label I tried to populate the events array with my database data but not…
1
vote
1 answer

Get value of checkbox for each row in a table in Angular 15

I want to display a checkbox for each row in a table. The values of the table will be a HTTP Get Request. sample data 0:{paymentFor: 'P29', paymentPurpose: 'Advance payment', paymentAmount: 1000000, paymentType: 'Payment Schedule', isActiveTrigger:…
1
vote
2 answers

innerHtml in Angular 15 does'nt display correctly the data in each column of a html table

I'm trying to fill a html table with data (that I get from a http request) that are parsed in string. Like the string with data contains the / markups, I'm trying to render them with the innerHtml of Angular. But all the data are displayed…
1
vote
1 answer

Angular 15 Google Maps updating marker positions in real time

Using @angular/google-maps to create a real time map of public transport using transport for NSW openData. https://github.com/angular/components/blob/main/src/google-maps/README.md https://opendata.transport.nsw.gov.au/ I can successfully create…
CVL
  • 11
  • 2
1
vote
0 answers

Adding Vite to a current angular v15 project is not working as expected

I started an Angular project using v15 (non SSR), time later I heard about the pros of using Vite so I started a research about how to use Vite in angular projects, not much info, however I found these guides in youtube and medium. Since my project…
Aldemar Cuartas Carvajal
  • 1,573
  • 3
  • 20
  • 39
1
vote
1 answer

Angular route children with parent custom matcher

I'm trying to use a regex on the parent route and then also have child routes, so I tried this: const barcodeRoute = () => (segments: UrlSegment[]) => { if (!segments.length) return null const segment = segments[0] return…
Gargoyle
  • 9,590
  • 16
  • 80
  • 145