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

updating to angular 9 to 10 I get this issue

While trying to update from ng9 to ng 10 the process stalls and doesn't move (see below): Updating package.json with dependency @angular/router @ "10.1.4" (was "9.0.5")... Updating package.json with dependency rxjs @ "6.6.3" (was…
tercou1
  • 113
  • 2
  • 11
0
votes
1 answer

How to Pass Data from Angular 10 form to Spring Boot Rest API that includes both Strings and Files/Images?

I am getting the following error in Eclipse Console when trying to communicate between Angular 10 and Spring-Boot rest Api. 2020-10-06 23:44:12.261 WARN 33762 --- [nio-8090-exec-5] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved…
An student
  • 392
  • 1
  • 6
  • 16
0
votes
0 answers

Getting the error when migrating to angular 10 latest version

I have migrated my angular application to latest angular 10 version.When Running the code I got the errors like: src/app/app.module.ts:32:5 - error NG6001: The class 'DashboardComponent' is listed in the declarations of the NgModule 'AppModule',…
Bhargavi gottam
  • 93
  • 1
  • 11
0
votes
0 answers

Angular 10: subscribing to an observable won't fire after a next call

I have a very simple scenario of subscribing to an Observable via an injected FooService: foo.service.ts: @Injectable() export class FooService { private foosSubject = new Subject(); constructor() { …
Shahar Shokrani
  • 7,598
  • 9
  • 48
  • 91
0
votes
1 answer

angular 10 translation strings IDs dont match

We have Angular 10.1.4 and use this command to extract strings: ng xi18n --ivy --format=xlf --output-path apps/my-app/src/i18n. Then i convert xlf to json format and during app init i load json translations with loadTranslations(jsonTranslations).…
Andrei V
  • 1,468
  • 3
  • 17
  • 32
0
votes
1 answer

how to unit test select from "@angular-redux/store" in angular 10?

I am having a reducer defined as : export const dummy_reducer = (state: any = INITIAL_STATE, action: any): any => { const actionOptions = (actionType) => ({ GET_EMPLOYEE_DETAILS: () => { return tassign(state, { emp_name:…
RIni
  • 149
  • 4
  • 15
0
votes
1 answer

Angular 10 Child Component only be used in Parent Component

I need to configuration on component to be used only inside another component. How can I do that? Components: @Component({ selector: 'app-menu[id]', templateUrl: './menu.component.html', styleUrls: ['./menu.component.scss'] }) export…
0
votes
0 answers

Issue In connecting Angular 10 with Spring security to retrieve data

I have been facing some issues in connecting spring-boot/spring-security with angular 10 in retrieving data and response from the backend. After logging in, Error is occurs on my default page of my application. I am Stuck on the same error for the…
0
votes
1 answer

Angular: Find Full URL String of Sibling Component in Routerlink

How do I find the full Url from a Router Link in Angular? I know how to navigate to a sibling component, however looking for the full url string, to store in variable . Resources: how to navigate from sibling component to another sibling component…
user14363779
0
votes
1 answer

trouble connecting Angular 10 with Spring security to use custom login page

I have been working on a web application using Spring boot and spring security with frontend controlled by angular 10. I have implemented backend for security and created a login page also. But, on running on local host it is throwing an…
Sarthak
  • 188
  • 1
  • 2
  • 14
0
votes
1 answer

Using Agm mps and i want to get the lat lng on map click in angular 10

Here is my code but it is not working. when I click on the map it displays error: Cannot read property 'lat' of undefined
Saad Arshad
  • 38
  • 1
  • 5
0
votes
1 answer

Refreshing Layers on an Angular 10 ESRI Map Without Refreshing the Entire Map

I have created an Esri Map in Angular 10. The user can select the layers on the map from a group button. So the input will be an array eg: ['0','1','2']. The numbers are the map layer number. All these functionalities are working fine, But I have to…
Adam-KER
  • 67
  • 9
0
votes
2 answers

Angular 10: Unable to override 'request' method of HttpClient

I'm trying to use inheritance on HttpClient and override all its common methods but Typescript is pointing an error when I try to override the request method is there an explanation about error pointing out by Typescript because it didnt have error…
aj go
  • 637
  • 2
  • 10
  • 27
0
votes
1 answer

How to create responsive navbar in angular like clickup.com

I'm new in web development I had a hard time to deal with angular 10 + responsiveness. I need to create a navbar like ClickUp without using any theme please check here - https://clickup.com/
0
votes
2 answers

How to check selected time is less than current or greater than current time using angular 8

Im working on appointment project in that i want to check appointment time with current time this.appointmentFromTime <= this.timeNow && this.appointmentToTime >= this.timeNow but in this condition time is getting as string so code is not working…
Ajith Kumar
  • 25
  • 1
  • 8