Category : angular10

I have upgraded my Angular project to v10. While doing ng serve I am getting below error message ERROR in node_modules/angular4-multiselect-dropdown/dist/multiselect.component.d.ts:72:22 – error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class. This likely means that the library (angular4-multiselect-dropdown/angular4-multiselect-dropdown) which declares AngularMultiSelectModule has not been processed correctly by ..

Read more

I have one page that will be run for the whole day and I also need to refresh the data every 5 seconds. here is code=> private ngUnsubscribe = new Subject(); selectData(){ this.selectData$= interval(5000).pipe( takeUntil(this.ngUnsubscribe), startWith(0), switchMap(_ => forkJoin([ getAll1(), getAll2()])), multicast(() => new Subject()) ) as ConnectableObservable<any>; this.dataBinding(); this.selectData$.connect(); } dataBinding(){ this.selectData$ .pipe( takeUntil(this.ngUnsubscribe) ..

Read more

NullInjectorError: R3InjectorError(AppModule)[OktaAuthGuard -> OktaAuthService -> InjectionToken okta.config.angular -> InjectionToken okta.config.angular -> InjectionToken okta.config.angular]: it’s working fine in angular6 and 8 but while upgrading to angular 10 getting these error… What to do can any one help me out… Source: Angular..

Read more

I use angular 10. I have an accordion group and this accordion group has an [heading] for the title of the accordion <accordion-group *ngFor="let notif of notifResponse.notifs.content" [heading]="{{ notif.title | translate }}" [panelClass]="’border’"> </accordion-group> My code [heading]="{{ notif.title | translate }}" doesn’t work. I have an error unexpeted token…and many errors in the logs. How ..

Read more

I want to show selected custom data on dropdown in primeng show selected data same as shown on dropdown list Please see both the images <div class="p-grid" *ngIf="deleteUser" style="place-content :center"> <div class="p-col-12 p-md-6"> <div class="card" style="background-color: var(–secondary-backgound-color);"> <div class="p-fluid p-formgrid p-grid"> <div class="p-field p-col-12"> <label for="points">CURRENT USERS</label> <p-dropdown [options]="sourceEmployees" placeholder="Select" optionLabel="firstName" class="dropdown-width" [showClear]="true" formControlName="deleteCurrentUsers" [(ngModel)]="selectedDeletedUsers" ..

Read more