Skip to main content
The 2024 Developer Survey results are live! See the results

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.

angular7
0 votes
0 answers
686 views

Why angular redirectTo is not working on IIS?

I am new to Angular deployments. So today I tried deploying an angular app to local IIS. In one scenario, I was able to see the UI. Scenario 1: Initial route should be navigated to “sample” and ...
Vijay's user avatar
  • 785
-1 votes
1 answer
191 views

Adding SL number to a angular table

I have the following table where in the table is generated using an array: <tbody *ngFor="let ques of questArray;let i =index"> <tr *ngif="catId == ques.categoryID"> &...
SmartestVEGA's user avatar
  • 8,771
-1 votes
1 answer
1k views

Negative validation not working in Angular

I have the following HTML Angular tags, which need to trigger a validation error when there is a negative value entered in any of the groups of textboxes (dynamic array). <tr *ngFor="let order ...
SmartestVEGA's user avatar
  • 8,771
0 votes
1 answer
150 views

How to add the missing numbers with this code and only doing it when a variable is 0 in angular 7

What this functionality does is that for each priority it will rebalance the percentage (Participacion) in equal parts. The problem occurs in odd cases, for example when there are 3 priorities(...
Felipe Roman Zegers's user avatar
-2 votes
2 answers
2k views

How to Sort and Map an Array on Angular 7

i have this array: myArray = { [0]{priority: 1, percent: 90, correct: true} [1]{priority: 1, percent: 20, correct: true} [2]{priority: 2, percent: 50, correct: true} [3]{priority: 2, percent: 50, ...
Felipe Roman Zegers's user avatar
-1 votes
1 answer
90 views

Problem with [variable] changing all inputs in a NgFor

I am building a table which has a priority field and a percentage field. I am working with a webcomponent, which has an input. This input will change according to the "state" priority, which ...
Felipe Roman Zegers's user avatar
0 votes
1 answer
717 views

Angular 7 - How to implement sorting in mat-table

I am trying to implement sorting in <mat-table> using Angular version 7.3. Below is my source code: <table mat-table [dataSource]='dataSource'> <ng-container matColumnDef="...
CoderInUi's user avatar
  • 136
0 votes
0 answers
201 views

How to dynamically implement ellipsis in angular 7

I have dynamic content with Image, description [MultipLine] and it is responsive. I want to display [ellipsis]... in description based on the space of the div. I tried many css but seems it's not ...
e kanojia's user avatar
0 votes
3 answers
7k views

Angular 7: TypeError: Cannot read properties of undefined (reading 'substr')

I have and angular 7.1.4 app that compiles successfully but when I open the console in my browser I see this error: ERROR TypeError: Cannot read properties of undefined (reading 'substr') ...
weinde's user avatar
  • 1,134
-1 votes
2 answers
350 views

Error in running the Angular 7 app with Node Js LTS 16.13.2

I am running angular 7 app with below docker file with node:16.13.2 LTS FROM node:16.13.2 ENV context "" RUN mkdir -p /usr/src/ WORKDIR /usr/src/ COPY . /usr/src/ RUN npm install ENV context ...
ss-ss-v1's user avatar
-1 votes
1 answer
376 views

Problem with drag and drop and creating new element in html

im trying to implement a dinamic drag and drop (angular-material) in angular 7. The case is this: I have multiples objects in a expansion panel with "Priority", i want to move that objects ...
Felipe Roman Zegers's user avatar
1 vote
2 answers
12k views

ERROR TypeError: Cannot read properties of undefined (reading 'push')

I'm following https://www.positronx.io/ionic-firebase-list-tutorial/ which creates a CRUD list app that writes and reads from Firebase. I'm using an Ionic framework with Angular. When I try to write ...
empyrean's user avatar
0 votes
1 answer
241 views

Ionic : Issue with <ion-range>

I am trying to customise ion-range knob (single knob or dual knob) to display current range values but couldn't succeed. When knob is pressed, I am able to see the Pin with values but after selecting,...
Deepak's user avatar
  • 53
2 votes
0 answers
450 views

How to fix my angular page from flickering on every rest call in settimeout()

I have checked numerous stackoverflow questions and have not found a solution for the way I am trying to achieve things. Please bare with me as I am an amateur in angular 7. So what I have done is, I ...
Faizan Shaikh Sarkar's user avatar
0 votes
1 answer
970 views

How to show the loader center of the mat dialog?

I am not able to show the loader center of the mat dialog. I am using angular material 7.2 with angular 7 version. please find my code from below URL. Sample code
Santhosh's user avatar
  • 1,071

15 30 50 per page