Questions tagged [angular10]

Questions about Angular version 10, the web framework from Google. Use this tag for Angular questions which are specific to only version 10. Use tag Angular for any Angular questions which are not specific to an individual version

Breaking Changes:

  • Typescript 3.6, 3.7, and 3.8 are no longer supported. update to Typescript 3.9.
  • Input fields of type number fire the valueChanges event only once per value change (as opposed to twice in some cases). See PR 36087.
  • The minLength and maxLength validators only validate values that have a numeric length property. See PR 36157.
  • Templates with unknown property bindings or unknown element names now log errors instead of warnings. See PR 36399.
  • UrlMatcher can now return null values. See PR 36402.
  • Transplanted views now refresh at insertion point only. See PR 35968.
  • Formatting times with the b or B format codes now supports time periods that cross midnight. See PR 36611.
  • Navigation is canceled for routes with at least one empty resolver. See PR 24621.

See the changelog for latest version information.

Read more at the Angular Website

837 questions
0
votes
1 answer

Type 'Element' is missing the following properties from type 'Group': children in Kendo UI Charts Drawing at e.createVisual()

I used the function below in Angular 10 for Kendo Charts drawing on Donut Chart public visual(e: SeriesVisualArgs): Group { // Obtain parameters for the segments this.center = e.center; this.radius = e.innerRadius; // Create…
Ramana V V K
  • 1,245
  • 15
  • 24
0
votes
0 answers

How to apply a conditional based Custom Directive based on property value in angular

I have two directives, one directive accepts a nonnegative number and the other accepts only positive numbers based on some types. In HTMLtemplate how can do the conditional statement?
Mohamed Sahir
  • 2,482
  • 8
  • 40
  • 71
0
votes
1 answer

Firebase user.delete() method works but with error

I am using angular, and have an application that stores user details, and login info. When trying to delete a user, I am first deleting all the user related information. Then asking the user to re-authenticate themselves, after authentication, user…
0
votes
1 answer

Wrong action type or wrong reducer is getting called in Angular 10 & RxJs

I have created two states using RxJs in angular 10 application. The problem I am facing is Wrong action type or the wrong reducer is getting called. I have explained the issue in the image below. I am not sure which part of the code I should…
Ahsan Aasim
  • 1,177
  • 3
  • 14
  • 40
0
votes
0 answers

i want value from input field which is using template drive form of angular and giving me previously typed value

Below is my .html file
Ashish Ahuja
  • 472
  • 5
  • 10
0
votes
1 answer

How to make 1:N relationship by reference type using Angular 10 and Cloud Firestore

We are looking for a mechanism that allows users to purchase digital content using Angular 10. I'm thinking about how to create 1:N relationship with reference type using Angular 10 and Cloud Firestore by referring to the following in…
0
votes
1 answer

can't create a component using Angular CLI

When i try to create a new component using angular cli it gives an error: /usr/bin/env: ‘node’: No such file or directory, i tried sudo ln -s /usr/bin/nodejs /usr/bin/node But it did't work it showed this error: ln: failed to create symbolic link…
0
votes
1 answer

Angular Kendo Grid keeps details of removed master row visible

I am using an angular-kendo-grid (version 6.14.5) in angular 10.0.3 with a kendoGridCellTemplate to show details. (...) …
Fuzzy
  • 486
  • 3
  • 7
0
votes
2 answers

Moment Timezone in Angular 9

Currently, I upgrade my Angular project form 8 to 9. The project's using a "@types/moment-timezone": "^0.5.30" in package.json Now this package has been deprecated. https://www.npmjs.com/package/@types/moment-timezone When I run the project ng…
Spring
  • 831
  • 1
  • 12
  • 42
0
votes
1 answer

Angular 10 Web worker not working in production but works in developmnet

I have an Angular10 web application where I load OpenCV on a web worker. I added the web worker according to the documentation here https://angular.io/guide/web-worker and everything works fine in development but not in production. Here is the code…
0
votes
1 answer

firebase-analytics with Angular 10, bundle errors

I'm having a hard time trying to update my project to Angular 10 from Angular 8. Everything is working fine, but Firebase Analytics from @angular/fire. It always returns: "loading chunk firebase-analytics failed.". I'm not sure if it related to the…
Kousenlsn
  • 19
  • 3
0
votes
1 answer

ngx-cookiesconsent throwing error Generic type 'ModuleWithProviders' requires 1 type argument(s)

I'm using Angular 10 and trying to use the package ngx-cookiesconsent. I am getting an error from ngx-cookieconsent saying: ERROR in node_modules/ngx-cookieconsent/cookieconsent.module.d.ts:7:53 - error TS2314: Generic type 'ModuleWithProviders'…
sshirley
  • 239
  • 2
  • 6
  • 19
0
votes
0 answers

how we remove nodemodules error of highcharts in angular 10 project?

When I start my app it displays an error . All the working of highcharts are worked means 2d as well as 3-d. I able to design 2d as well as 3d-charts, but problem is that this error prints in console. GET…
0
votes
0 answers

Getting error on console for number,string,boolean on console.Cannot find a differ supporting object '100' of type 'number'

I have implemented this below code and its showing data properly on page but I am trying to find out why its giving error on console I have tried multiple ways to check the type of *ngIf="(parameter.value | type) === 'number'" and put parameter in…
Sum
  • 61
  • 1
  • 11
0
votes
3 answers