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
-1
votes
1 answer

Angular material card menu at the top right

How to add menu at the top right of the card using angular material, as per the https://material.angular.io/components/card/overview document there is no tag for that. I want to add a button with icon at the right top as shown in the picture …
San Jaisy
  • 15,327
  • 34
  • 171
  • 290
-1
votes
2 answers

How to insert values a json array at a specific index in Angular 8?

I have a JSON array as below, this.sampleArray = [ { "start_time": "", "end_time": "" }, { "start_time": "", "end_time": "" }, { "start_time": "", "end_time": "" }, …
Shinchan
  • 81
  • 2
  • 17
-1
votes
1 answer

*ngFor doesn't work inside modal (angular 10 ionic 5)

I faced an issue inside my project, *ngFor doesn't work inside the modal component, and works anywhere else. I import BrowserModule in the app component, and commonModule elsewhere. There is no spelling mistakes. I am sure the declarative is clearly…
Hyva
  • 69
  • 5
-1
votes
1 answer

Get Image from APi

I'm trying to implement this code for making API call for image without success:
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
-1
votes
1 answer

Get the details of the layer and its details when click on the map in Angular 10

How do we get the details of the layer when clicking on the ArcGIS map in angular 10. The click event is triggering on the map. Eg: A map showing house numbers. How do we get the house number when clicking on one of the house numbers on the map. I…
Adam-KER
  • 67
  • 9
-1
votes
1 answer

Angular how to dynamically change page when changed it from the path?

I have apagination problem in angular. Here is my code in html;
-1
votes
3 answers

TypeError: (options.astTransformers || []).map is not a function angular 10

I have a unit test running using the "jest": "^26.4.2", "jest-preset-angular": "^8.3.1", When I run the command npm run test:app it was working fine in Angular 8, now I have updated the angular to the latest version 10. I am getting an error as…
San Jaisy
  • 15,327
  • 34
  • 171
  • 290
-1
votes
5 answers

Show loading animation while retrieving data (Angular 10)

I am trying to show a loading animation in Angular 10 while I am retrieving data. I can show the loading animation if I use a specific time value but I cannot get it to show just while the data is being gathered. Please see a snippet of my code…
jak dev
  • 33
  • 1
  • 8
-1
votes
1 answer

Update angular 8 to 10 using cli

Using the ng update command to update the angular to the latest version. Keep getting the peer dependency issues. I tried with the --force command, however, there were lots of different issues Package "@angular-redux/form" has an…
San Jaisy
  • 15,327
  • 34
  • 171
  • 290
-1
votes
1 answer

Angular serve Module not found error @angular/forms

when i run ng serve the following error occurs. The problem is I do not import the module in all these components, but the FormsModule in my Modules. I updated my Angular version to 10. ERROR in…
Leo95
  • 9
  • 2
-1
votes
1 answer

Can two different apps share NGXS store?

If I have two Angular apps running on separate ports, and app 1 adds something to the store, can app 2 retrieve it provided app 2 knows the exact name of the state getting added to the store? If so, is there anything particular(outside of normal…
snowleopard
  • 781
  • 3
  • 13
  • 36
-1
votes
1 answer

How To Run a Function when a page refreshes in Angular10/ Typescript

I am working on an Angular 10 app, I would like to navigate to another component using (router.navigate) only when a page refreshes/reloads. How can i achieve this in Angular. Thank you Awaiting responses
-1
votes
3 answers

Angular 10: How to export multiple components in a module

I am using Angular 10 version. There are some similar questions but they didn't solve my problem. In my Angular project , I have made two modules named post and static. The post module have 10 components. and i want use all these components in…
user13740417
-1
votes
1 answer

Origin 'http://localhost:8080' is not allowed by Access Control Origin in Safari

For an Angular 10 application that I am running, I am getting the following error when the page loads in Safari. (working fine for Chrome and Firefox). Origin http://localhost:8080 is not allowed by Access-Control_origin CORS Error I have tried the…
-1
votes
1 answer

Angular 10 - best way to add custom css url?

We have styles.scss (base css file) and also providing option to load custom css url so custom can change their logo or colors... Below is the requirement: if custom URL is not available then it should load base css file if custom URL loading is…
rameshP
  • 49
  • 1
  • 4
1 2 3
55
56