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

All Questions

Tagged with
1 vote
1 answer
174 views

'nz-alert' is not a known element

'nz-alert' is not a known element: If 'nz-alert' is an Angular component, then verify that it is part of this module. If 'nz-alert' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@...
ming chen's user avatar
1 vote
1 answer
40 views

How to expand and collapse table row in angular 7

I am trying to expand and collapse each table row without adding new properties(expanded1 and expanded2) in the json data. How to do it. Is it possible or not? app.component.ts: export class ...
sarann's user avatar
  • 157
1 vote
1 answer
60 views

How to add new property in the json data without adding in the interface using typescript or javascript

I am trying to add new properties inside the josn data without adding in the interface. But i am not able to add it.So, How to add new properties in the json data. Is it possible or not? app.component....
sarann's user avatar
  • 157
0 votes
1 answer
265 views

How to expand row in a table using typescript or javascript

I have used angular 7.I am trying to expand and collapse table row by clicking name and place. But it is not opening properly. If i click place name, that place details only i want to show. But in my ...
sarann's user avatar
  • 157
-2 votes
1 answer
1k views

Close ngbPopover on click outside anywhere other than scrollbar

I am using an ngpopover in my Angular 7 project to help user select date range. I have created a daterange component implementing Onchanges and I am importing this wherever I need the ngbpopover. What ...
Satyam thassu's user avatar
0 votes
2 answers
1k views

Angular7 Ng-Multiselect-dropdown Its Adding Dynamically but not updating

<ng-multiselect-dropdown [settings]="settings" name="cuisine" [placeholder]="'select '" [(ngModel)]="data1" ...
Suriya Rajasekar's user avatar
0 votes
1 answer
421 views

Duplicate id attribute value "x" found on the web page

I am using Angular 7 - three components [a, b, c] use an input element that has the id of [x] however, component [b] has 4 input elements using id of [x] aswell. This raises Accessibility Issues - as ...
Abdul's user avatar
  • 1
0 votes
2 answers
521 views

Angular component does not update correctly using @Input and a Service

I'm using Angular version 7 with a component that has a serie of divs being rendering according to the data coming from an @Input and it should be updated due the service response, nevertheless the ...
AndreFontaine's user avatar
1 vote
1 answer
637 views

load multiple script tag in angular component

I'm trying to load a series of scripts from a component of an angular application, I want to do it in a specific component and not in the index.html but I can't find a way to do it, any help or advice?...
Jotita's user avatar
  • 33
-1 votes
1 answer
2k views

Why my min and max validation is not firing?

I have the template like below: <form class="form" [formGroup]="configWeightage"> <div class="example-container"> Enter value in between 0 to 100 <...
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
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 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
2 answers
4k views

Is there a DateTimePicker in Angular 7?

I am learning angular and I want to implement datetimepicker in Angular version 7.2 and bootstrap v3.3.7. But I am not able to find out such component, I can find date and time picker as a separate ...
CoderInUi's user avatar
  • 136
0 votes
1 answer
588 views

Capturing Iframe data into image(png) in Angular

I have HTML content with Script tags in it that I am loading inside an iframe(Since I'm not able to process it in a normal angular HTML file as it has Head, Style, and Body tags altogether). I need to ...
Abdal Pasha's user avatar

15 30 50 per page
1
2 3 4 5
43