For questions regarding Angular specific to version 14. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.
Questions tagged [angular14]
536 questions
0
votes
0 answers
Angular 14, PrimeNg cannot preselect multselect
I am having a very hard time trying to preselect my p-multiselect. This is my code what is wrong about it?
0
votes
1 answer
the Difference between [routerLink] and routerLink
what is the difference between [routerLink] and routerLink in angular routing ? and what is the benifits for each one and what I should use
know the difference

anas mk
- 9
- 1
- 2
0
votes
0 answers
Angular 14: NgxSlickCarousel - loading slick carousel on dynamic content (ng-content)
I've an application where I've to load NgxSlickCarousel in a lot of places. Therefore I've thought to create a reusable component that handles all the slick carousel functionality while i can pass content into it.
My app-slick-content component…

Mj1992
- 3,404
- 13
- 63
- 102
0
votes
0 answers
Error using skipLocationChange in anchor tag
I'm attempting to add skipLocationChange property to inline archer tag. I have found multiple sources that stated to format it like below.
Doing so generates the error below.
error TS2322: Type…

user2671355
- 322
- 2
- 3
- 10
0
votes
0 answers
getting TypeError: res.writeHead is not a functionwhen using netlify function
I get this error whenever I call the netlify function. sometimes it works and sometimes not and I get this back
Request from ::ffff:127.0.0.1: GET /.netlify/functions/getS3URL?reqType=get
Response with status 200 in 2919…
0
votes
1 answer
How to add graphql loader rules in webpack configuration Angular 14
I am working on a poc project to implement Module Federation with Angular 14. I want to include the graphql loader rules in the webpack configuration. But it is not working.
const { shareAll, withModuleFederationPlugin } =…

user1700138
- 35
- 2
- 7
0
votes
1 answer
Data from last component instance overwrites the data from all previous instances
I am using the @ViewChild decorator to create new instances of an already declared component. The process is taking place dynamically by using a dialog window for data input on form submit. The components are being created successfully, but each…

Asterios Kalogeras
- 96
- 2
- 12
0
votes
2 answers
Angular, Unable to find the root parent by its class interface
From the angular documentation here, I had created a Parent class using
export abstract class Parent {}
Inside the AlexComponent, I had provided this component as Parent to its children
providers: [{ provide: Parent, useExisting: forwardRef(() =>…

bvakiti
- 3,243
- 4
- 17
- 26
0
votes
2 answers
How to set the values of mat-select
I try to load to the form the values of the object when I click the form opens i got an undefined data error.
I got to conclusion that my error is because I don't give the value right to the mat-select.
in the ngOnInit() of the diaog i call the api…

den is
- 11
- 4
0
votes
1 answer
Angular 14 authenticate Azure AD B2C login token is not expiring even after 24 hours
I am new to Azure AD B2C.
I have integrated my Angular app to authenticate using Azure AD B2C.
User is redirected to azure login page and everythng working fine.
But once logged in, the token never expired and even after 14 hours, i am not prompted…

Mukil Deepthi
- 6,072
- 13
- 71
- 156
0
votes
1 answer
Join two reactive forms
I have an angular reactive form that I want to add a form group from a the different file. I can't get it to work. I have a function that return an untyped form group:
public getEmptyTemplateForm(): FormGroup {
const template = new FormGroup({
…

Liran_T
- 69
- 7
0
votes
1 answer
Did Change Detection Strategy change with Angular 14- expressionchangedafteithasbeenchecked error
I am seeing Expression Has Changed error with below code which works fine in V11 but fails in V14.
Its a simple code , where i am creating a form Group in parent component and passing it to Child Component where i am adding a form control ( with…

Wasim Shariff
- 11
- 3
0
votes
0 answers
ng-content not rendering where I want
I'm trying to have a custom component to render content passed from the parent component in the ng-content node placed where I want it.
Here's the custom component:

Francis Ducharme
- 4,848
- 6
- 43
- 81
0
votes
0 answers
Angular Sign in with Google getting error like "The value of 'callback' is not a function. Configuration ignored" callback function not triggered
this is my index.html sign in with google button is loading with an error on console "GSI_LOGGER]: The value of 'callback' is not a function. Configuration ignored."
and when sign in with google the call back function is not invoking

Arun KR
- 31
- 3
0
votes
0 answers
Angular dual list box with Paginator, and Search
I'm using angular-dual-listbox component.
import { AngularDualListBoxModule } from 'angular-dual-listbox';
and I'd like to add a paginator to show the list box with [5,10,20] items per page.
My actual need is angular-dual-listbox with search and…

Bakeetha
- 3
- 2