Questions tagged [angular7]

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

Questions about Angular version 7, the web framework from Google. Angular version 7 entered a 3 year Long Term Support period on July 1, 2018.

See the changelog for what changed in version 7.

If you need help upgrading from version 7 to version 8, please see the Official Angular upgrade guide

5213 questions
1
vote
3 answers

How to convert indexed Json to normal Json array in Angular 7

I get the data from API end point as below But the output I expect is just an array of object which is like [{Crqnumber: "CRQ000000135318", approvalstatus: "Approved", changecoordinator: "Sariga Suresh", productname: "MSS (NextGen)", …
Dev Anand
  • 314
  • 1
  • 14
1
vote
1 answer

How to get the value of my dropdown for each check box selected in Angular8

I am dynamically creating checkboxes and associated dropdowns from the data i get from api .... my html code below::
1
vote
1 answer

Angular 7: Get locale thousand Separator and decimal Marker characters

I've seen solutions where people are writing out amounts with formatCurrency(1234.56, this.locale, '') and then extracting the characters from the produced string. Please Google ... tell me this is not the only way.
1
vote
1 answer

ExpressionChangedAfterItHasBeenCheckedError: Expr has changed after it was checked. Prev value: 'ngIf: false'. Current value: 'ngIf: true'

I am using Angular 7 and use "ng serve" to launch the app. I have parent-child components and parent component has a button on click flips a boolean property value. if that boolean property is true child component is displayed (*ngIf). From the…
javapedia.net
  • 2,531
  • 4
  • 25
  • 50
1
vote
1 answer

Angular change pipe parameter from typescript

i'm trying sort an objects list in a table when i click on a header. I already tried to sort the list from TypeScript then update the variable binded to the table but the list reappears like it was before sort. //Set with a list from DB public…
Guillaume
  • 108
  • 10
1
vote
1 answer

the global variable is getting undefined in HTTP call

I need to get the list of dates from the server by using an API HTTP call. After that, I need to display the background color for that date in a calendar. Here I'm getting data from HTTP call nicely. That data is assigning to one global variable.…
Moses Burla
  • 53
  • 1
  • 5
1
vote
2 answers

Disable PrimeNG Calendar month selection in Typescript

I am using PrimeNg Calendar in my angular 7 project, wanted to disable month navigator on some conditions at the component level. Ex: Current Month is February, I want to disable month navigator after the march month. Using :host and ::ng-deep I…
user2038538
  • 221
  • 5
  • 16
1
vote
2 answers

Selected row checkbox not showing With two NG-Container elements using Material Data Table (Angular 7)

I have a dynamic data table build using Angular Material where I am using an API to supply the table with data currently. I want to use add a checkbox column to select a specific row, and/or multiple rows, but I'm having an issue with showing the…
kjamp
  • 365
  • 3
  • 10
  • 37
1
vote
1 answer

Enable API Response Compression (gzip) on ServiceStack 5.8.1

We have a ServiceStack 5.8.1 API running in Azure that uses EF Core to run queries against an Azure SQL database that is returning 500,000+ records. Calling the API methods returns a JSON representation of the data down to the client. The front-end…
Adrian Wright
  • 145
  • 2
  • 7
1
vote
0 answers

Angular rxjs forkjoin how to use more than 6 parameters

I am unable to add more than 6 observables to forkjoin. is there a way to use more than 6 parameters? I am getting error when i try to use it: forkJoin([countries, currencies, customers, shippers, states, types, tradeTypes]).subscribe((results) =>…
Mukil Deepthi
  • 6,072
  • 13
  • 71
  • 156
1
vote
1 answer

Multiple dialog boxes, for loop, opening - angular 7 + angular material

I have situation where I get from API String array of validation codes. Also I have mapper where I get description to code on front side. Question is, there is possible to display material dialog after closing previous one? My code:…
1
vote
2 answers

Why should I upgrade from Angular 6 to Angular 9?

The projects I have been working on for 2 years was made of Angular 6. It has been a long time when the current version is Angular 9. Please explain why should I upgrade to Angular 9 and my prime motive is better performance. Or it is better to…
RICHU THOMAS
  • 53
  • 1
  • 8
1
vote
1 answer

Detect focus lost from different input in Angular 8?

I have 2 inputs, one of them has a numeric value on it: The second input calculates that value -20€ value.
Sonhja
  • 8,230
  • 20
  • 73
  • 131
1
vote
2 answers

Angular 7 Input Mask for phone number

I am trying to write code input mask to format the phone number like (123) 456-7890. I almost done. I created directive to perform the format, but I'm stuck on the paste operation. If the user type the phone number in textbox its working fine. But…
1
vote
1 answer

How to integrate Payfort payment gateway in angular 8 or in Node Js?

I want to integrate payfort payment gateway in angular or node app. I have read documentation but couldn't find much about javascript (angular / node). I have searched for examples but couldn't find any. So anyone could help will be appreciated.