Questions tagged [angular16]

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

120 questions
0
votes
1 answer

ngx-google-places-autocomplete not working with angular 16

'GooglePlaceModule' does not appear to be an NgModule class. 233 GooglePlaceModule, ~~~~~~~~~~~~~~~~~ node_modules/ngx-google-places-autocomplete/ngx-google-places-autocomplete.module.d.ts:1:22 1 export declare class GooglePlaceModule…
0
votes
0 answers

ng Switch Angular data matching when changing

add-university.component.html
0
votes
0 answers

NgxHateoasClient - Basic Configuration on Angular

I want to use NgxHateoasClient in my angular application. The basic configuration for NgxHateoasClient work is to add the below code in app module of the application - import { NgxHateoasClientModule } from…
gguptha
  • 41
  • 1
  • 6
0
votes
0 answers

Building a library with --watch fails with error NG6002 after upgrade to Angular 16

I have an workspace with a library and a showcase project: mylib and myshow. I've been using the following scripts without any problem with Angular 13, 14 and 15: "scripts": { "lib:watch": "ng build mylib --configuration development --watch", …
Paul
  • 1,224
  • 2
  • 14
  • 31
0
votes
0 answers

Create the first component is a form field allow whole numeric values can be 1 up to 99 with no leading zero's allowed along with do not allow alpha

The component contains two separate angular material that will need to be combined in to one extended component. The first component is a form field allow whole numeric values can be 1 up to 99 with no leading zero's allowed along with do not…
BALARAMA
  • 11
  • 5
0
votes
1 answer

Google Places Autocomplete (ngx-google-places-autocomplete) is not working in Angular 16

After upgrading to Angular 16, the "ngx-google-places-autocomplete" does not work any more. There are the next error main.ts:29 Unhandled Promise rejection: GooglePlaceModule does not have a module def (ɵmod property) ; Zone: ; Task:…
Nazar Vynnytskyi
  • 4,647
  • 2
  • 21
  • 22
0
votes
0 answers

Can i apply a custom non-structural directive to ng-container?

I'm creating a component in a separated library that have to render a component defined in a configuration object. I found this question on stackOverflow that enable a dynamically rendered component, using ng-container and *ngComponentOutlet, to…
AngelPoyel
  • 160
  • 1
  • 9
0
votes
0 answers

@elastic/apm-rum-angular Integration with Angular 16 Not Working

I updated angular to v16 and i get the following error: Error: src/app/app.module.ts:157:5 - error NG6002: 'ApmModule' does not appear to be an NgModule class. 157 …
0
votes
1 answer

zxing-js/ngx-scanner error: GET http://localhost:4200/noposter 404 (Not Found)

How to resolve this error in ngx scanner latest version at now (v16.0.1). I found what causing this error but have no idea about resolving it! I'm using angular 16. Here is the link to the library: ngx-scanner
Lakshitha Kanchana
  • 844
  • 2
  • 12
  • 32
0
votes
0 answers

Bootstrap is not working in Angular 16. I tried to set the script and style but still it didn't work

Bootstrap is not working. Here is the script and style detail: "styles": [ "node_modules/bootstrap/dist/css/bootstrap.min.css", "src/styles.scss" ], "scripts": [ "node_modules/jquery/dist/jquery.min.js", …
Manas
  • 1
  • 1
0
votes
1 answer

iMask plugin for Angular: the unmask property doesn't allow typed

I'm using the iMask plugin for Angular, and when I set the value of the unmask attribute to 'typed', I'm encountering an error that doesn't occur when I use 'true' or 'false' as the value. This is the input:
0
votes
0 answers

Storybook 7 / angular - using argTypes in story

I have a component... import { Component, Input, OnInit } from '@angular/core'; import { DisplayClassType, DisplayType, SizeType } from '../types/base.types'; @Component({ selector: 'govc-header', templateUrl: './header.component.html', …
0
votes
0 answers

I have a angular project with version 11, I am upgrading my project to latest angular 15 or 16

I have an angular project with version 11, I am upgrading my project to latest angular 15 or 16.I have upgraded sucessfully till 13, but when I am upgrading from 13 to 14 angular version I am getting below compilation issue. enter image description…
0
votes
0 answers

Angular material: matInput don`t float mat-label

I just updated angular application from Angular version 11 to Angular 16 also with angular material. After update matInput don`t float mat-label. Text is overlapping with mat label. Can someone suggest me what could be the reason? This is my…
0
votes
1 answer

Angular 16 package import issue

Hi I have an issue related to package 'angular-progress-http'. It works in angular 15 however its giving error in angular 16. (import { ProgressHttpModule } from 'angular-progress-http'). I have explored various solutions but none seem to be right…