Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
98 views

I have a directive that reads src attribute and appends a DynamicComponent. It also sets an input property of DynamicComponent. @Directive({ selector: '[appDynamic]' }) export class InjectDirective {...
sanjihan's user avatar
  • 6,138
1 vote
1 answer
66 views

A-Service.component.ts ` import { Injectable, Inject } from '@angular/core'; import { BService } from './BService'; @Injectable({ providedIn: 'root', }) export class AService { constructor(...
Aishwarya Gharde's user avatar
1 vote
1 answer
112 views

I'm upgrading an Angular application from v10 to v11 that uses routerLink pointing to the outlet named dialog to create modal dialogs. The current component (CoreComponent in the example below) should ...
zserdely's user avatar
  • 112
0 votes
0 answers
63 views

My team and I are updating the Angular version of our app. We were using version 10.2.3 and migrated to 11.2.19 in angular/cli Before updating, our environments files were replaced by fileReplacements ...
Ewerton Oliva's user avatar
1 vote
1 answer
473 views

I am using ag-grid (in an Angular project) to render a table and I want to display rows with respective radio in one column and when I click on it that only row selection for row not the entire row ...
Nitin's user avatar
  • 538
0 votes
1 answer
694 views

I have a project that I have just upgraded it from Angular 11 to Angular 16. When I try to compile (ng build) the fist two errors shown are these two: ./src/styles.scss - Error: Module build failed (...
Eddie's user avatar
  • 359
0 votes
1 answer
531 views

I have a project that I have just upgraded from Angular 11 to Angular 16. In Angular 11, I had all my DTO models created with the NPM package "ng-swagger-gen" from the Web API's Swagger JSON ...
Eddie's user avatar
  • 359
1 vote
1 answer
81 views

While submitting the form in angular, the data should pass like given below. Inside role menu only 1st index is passing. I want all the index data to be passed on submit. { "roleMenu":[{ ...
Rose's user avatar
  • 704
0 votes
0 answers
533 views

I have used Angular 11 in my single page application (SPA). I have used lazy load module in app-routing.module.ts. The issue is when I redirect to that module/component, it get the results from ...
prog1011's user avatar
  • 3,485
0 votes
0 answers
221 views

I am using ng-multiselect-dropdown version ^0.3.8 in my Angular project v11.It's working fine except one condition which occur when- 1- open select dropdown and search random thing which is not in ...
Reaper's user avatar
  • 412
1 vote
0 answers
40 views

using get by id API we fetch data for particular id in Angular 11 this is our form group export class PromotionsService extends HttpService<Promotion> { form: FormGroup; constructor(...
Abdulgany Mohamed's user avatar
0 votes
1 answer
109 views

I have dashboard where I can add multiple pages and widget to it which follows tabset structure. Widget includes amcharts, library charts. On default page amchart is rendering correctly but when I ...
pooja pathak's user avatar
2 votes
0 answers
578 views

Error: node_modules/secure-ls/dist/secure-ls.d.ts:24:24 - error TS2694: Namespac ...
Priya's user avatar
  • 65
1 vote
0 answers
577 views

i am upgrading my angular 11.0.2 ngx-admin dashboard project to Angular 15.2.9 during package update i got following error Error: node_modules/ng-particles/lib/ng-particles.component.d.ts:18:89 - ...
AG Mohamed's user avatar
0 votes
0 answers
31 views

Over lap image Step 1: I open Dropdown in my screen (it's consider component1) Step 2: just hover my menu .(My menu open during hover on it) both Dropdowns are overlapping. If any way to restrict my ...
Poorani Kanniyappan's user avatar
0 votes
1 answer
64 views

I have some difficulties logging the year when you select the year. I managed to hide the month and dates already though. STACKBLITZ Simple datepicker <ngb-datepicker [(ngModel)]="model"...
Joseph's user avatar
  • 7,875
5 votes
0 answers
657 views

I am developing an Ionic 5 app with Cordova and Angular 11, and I am currently using the SafetyNet Google API to detect rooted devices. However, I encountered an issue where the security check was ...
Mustafa Shakaroun's user avatar
1 vote
1 answer
1k views

I am working on PrimeNG Table inline editing functionality in angular. If I enter blank record in the input box I throw an validation message but once message is shown inline edit option disappears. I ...
Bhushan Khaladkar's user avatar
0 votes
0 answers
502 views

I want to create a dropdown using angular multi checkbox, but I'm not sure how to do it in the "Angular way", that component will use in some places as a form control. <app-custom-...
user9081655's user avatar
0 votes
1 answer
53 views

In my Angular 11 application, I have a component that displays a child component containing some table filters: Parent <table-filters></table-filters> <table> ... </table> ...
SyncroIT's user avatar
  • 1,578
2 votes
0 answers
801 views

trying to solve this issue it makes all tests failed! i am using angular 11 with karma-Jasmine, it happens cuz on one filter method inside function that called in ngOnInt unit test file it('should ...
Nourhan Elsayed's user avatar
0 votes
2 answers
59 views

I wanted to do conditional http call and got the solution from Angular 11 how to make one of the http request in higher order mapping conditionally @Injectable({ providedIn: 'root' }) export class ...
Mukil Deepthi's user avatar
1 vote
1 answer
45 views

I want to use a better solution if exists so it will make the following simpler. If this.projectguid is empty then want to use the switchMap call otherwise the other one. Can anyone suggest me a ...
Mukil Deepthi's user avatar
0 votes
1 answer
636 views

Using a Syncfusion EJS Autocomplete element in a search box. The issue being reported is that the user is not able to select the value searched I know the issue, is because the data passed to the ...
Jawahar's user avatar
  • 263
0 votes
0 answers
122 views

while testing code facing Unhandled promise rejection: ObjectUnsubscribedError: object unsubscribed. how can I solve this error?
Ekta's user avatar
  • 1
0 votes
2 answers
71 views

installed node verion 16.13 previously it was node v 14.18.1 npm ERR! code ERESOLVE Blockquote npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected]....
neel upadhyay's user avatar
1 vote
1 answer
412 views

google.directives.ts:- getAutocompletes(addresstext: ElementRef) { const autocomplete = new google.maps.places.Autocomplete(addresstext.nativeElement, { ... }); google.maps....
Priyas Paulzagade's user avatar
3 votes
1 answer
2k views

In my unit test I want to call openDialog, openPdf, getPath with these three eventemitter that are in the ngOnDestroy method. How can I call them? component.ts: pdfPath: string = ''; // will be edited ...
Priyas Paulzagade's user avatar
0 votes
1 answer
1k views

I'm working on angular 11 and ng-bootstrap 9.1 and i need to make a table with first 3 columns fixed and at the same time it should be responsive too, I've made it fixed but couldn't find a foolproof ...
Kabeer Hadi's user avatar
0 votes
0 answers
76 views

for some reason I am not able to pick a file. here is my code <button mat-stroked-button type="button" (click)="filePicker.click()" >Pick Image</button> <...
user avatar
0 votes
1 answer
861 views

I have the following issue: Yesterday I started following this tutorial in order to learn how to use ngx-pagination, because I needed server-side pagination. The issue is that the first 10 items that ...
Amanda's user avatar
  • 81
0 votes
2 answers
60 views

I have the following chart, which I want to use data that I have stored in some methods, the code for context: ... charts: any ... constructor( private measureService: MeasureService, ) { } ... ...
Amanda's user avatar
  • 81
1 vote
2 answers
461 views

So here is my problem, I have this going on my app.component.ts : @Component({ selector: 'sa-app', templateUrl: './app.component.html', }) export class AppComponent implements OnInit, AfterViewInit { ...
Amanda's user avatar
  • 81
0 votes
2 answers
2k views

I am currently working on updating the angular version of a project. It was v10 and I updated to v11. Fixed many errors, but ng2-charts keep throwing these errors on ng serve. Error: node_modules/ng2-...
SkyLordPanglot's user avatar
0 votes
2 answers
808 views

I am using Azure AD B2C with my Angular 11 application. I am trying to use forgot password policy and it is working fine except after password is changed, it logs me into application and displays me ...
Mukil Deepthi's user avatar
1 vote
4 answers
249 views

How can I get the value of param2 based on name in angular? http://localhost:4200/home#parma1=value1&param2=value2&param3=value3 Tried Below: constructor( private router: Router, private route:...
Sai Ram's user avatar
  • 103
0 votes
2 answers
794 views

I have parallel API calls. How to continue getting data from one of them if second one failed? forkJoin([a,b]) .subscribe({ next: ((data) => { const [first, second] = data; ...
Boris Adamyan's user avatar
0 votes
1 answer
776 views

I have a variable with a number, sometimes it's an integer sometimes a decimal. I want to show it with 2 digits after the point once it's a decimal, and without any decimal, if it's an integer. I mean,...
shr7's user avatar
  • 173
1 vote
1 answer
906 views

I have an application where users can write notes and, in these notes, they can include an image. Sometimes these images are large, and I have CSS that makes them fit into a container. I am trying to ...
Brian Smith's user avatar
  • 1,666
1 vote
0 answers
217 views

I have migrated Angular from version 8 through 11 in my application. There is a strange error where a particular component doesnot load and console throws the following error core.js:6210 ERROR Error: ...
Nirmal Kumar's user avatar
0 votes
1 answer
336 views

I am working on angular app. I want to have responsive dynamic cards with arrow in between each card. my code is as follows: <div class="col-4" style="width:25%" *ngFor="...
Rinky Sharma's user avatar
-1 votes
1 answer
678 views

I am working on angular app and want to have a progress bar as shown in attached image. I have seen many progress bar online but I am not able to find progress bar of this type. How I can get ...
user avatar
2 votes
2 answers
6k views

I am upgrading my Angular project from version 10.2.x to version 11. As per official angular update guide, when I run the command ng update @angular/core@11 @angular/cli@11 --allow-dirty --force it ...
Raj's user avatar
  • 85
3 votes
0 answers
3k views

Deprecation array warning: 'createNodeArray" has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory’ or the 'factory’ supplied by your transformation context instead. ...
user20060977's user avatar
0 votes
0 answers
89 views

I have a button Add Educational Background that takes me to the awards input form. <div class="col"> <button *ngIf="authService.permission('edit_user') || authService.user()...
Kael's user avatar
  • 169
1 vote
2 answers
7k views

I want create a new editable row by default when clicking "ADD NEW button". like below screen shot. When I click "+" button a new row will create. once I edit that row and click &...
hanushi-thana's user avatar
-1 votes
1 answer
39 views

I am trying to invoke the method from another component using behaviorSubect observable concept, onBroadcastToTeamChange is hitting everytime from component 1 but i am unable to subscribe to ...
Rafi Shaik Mohd's user avatar
0 votes
1 answer
132 views

I have a child component that i want to add to my route outlet. But when i click nothing happens. Here's my routelink <li class="nav-item"> <a [routerLink]="['/student-...
Kael's user avatar
  • 169
0 votes
2 answers
2k views

I have a dashboard component in an Angular project that utilizes Angular Material elements like so: <mat-card fxFlex fxFill> <mat-card-title fxLayout="column" fxLayoutAlign="...
Daniel's user avatar
  • 15.7k
0 votes
1 answer
276 views

We have services.ts . Which needs 2 arguments UPDATED seems like i was looking the error wrong. this method was causing the console error private checkLink(row, options) { if (options.type ==='...
Kael's user avatar
  • 169

1
2 3 4 5
14