Skip to main content

Questions tagged [angular5]

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

0 votes
1 answer
76 views

Property 'artist' does not exist on type 'ArtistItemsComponent'

So I'm new to Angular, and following an Angular5 course on LinkedIn. I'm trying to create a subcomponent named artist-items, and have created the HTML and TS files for it. Okay, apologies for posting ...
NK Rao's user avatar
  • 53
0 votes
0 answers
168 views

Upgrading an existing project from Angular 5 to Angular 14

There were some enhancements needed to be done from an old project but my Angular is angular 14 and the project is in Angular 5. I cannot load the project because of the version compatibility issues. ...
loki_cap's user avatar
0 votes
1 answer
1k views

Cannot read property 'write' of undefined - Angular

I am working on an Angular 5 project where I'm facing issue Cannot read property 'write' of undefined while trying to build and run(ng serve): My local @angular/cli version is 1.7.4 and below are ...
The Inquisitive Coder's user avatar
-1 votes
1 answer
382 views

Is there a solution to run signalR in angular 5 project or is there an alternative to signalR to bild real time notification ??

I have an angular 5 and .Net project, I needed to integrate real time notifications, the solution was to work with signalR. I tested a sipmle signalR example with .Net5 and angular 13 and it works ...
Bilel Feki Dit Kaaniche's user avatar
0 votes
1 answer
191 views

How to save data without ngModel in template driven approach

I am stuck in a situation where I have to save data to the database from Angular UI. I am showing a tabular format data where the table data (table header and table value) changes based on some ...
Running Rabbit's user avatar
1 vote
1 answer
916 views

Filtering of Array using filter() works fine, but doesn't change in frontend

component.ts searchVideo = (search: string) => { this.query = search; if(this.videos.length == 0){ this.filteredData = []; } if(!this.query){ ...
Souvik Pal's user avatar
0 votes
1 answer
655 views

Using the filter or find method to retrieve an object inside a json [closed]

How can I obtain one of these objects by using the filter or find method and looking for a match inside of the fiberAgrupations Array I tried doing this: const landlineRate = this.monolineJsonRates[0]....
Victor York's user avatar
  • 1,671
1 vote
1 answer
59 views

How to pass the filtered data which is returned from Custom Pipe to Child Component?

Parent Component <app-search-bar (sender)="searchVideo($event)"></app-search-bar> <ng-container *ngFor="let video of videos | search: query; let i=index;"> ... &...
Souvik Pal's user avatar
0 votes
2 answers
110 views

How to check for undefined before assigning to variable

Im using a find method to extract an ID (string) but this is returning an undefined as it doesnt exist. const additionalLinePhoneNumber = products.find(product => product.name === 'segundaLinea')....
Victor York's user avatar
  • 1,671
4 votes
3 answers
2k views

"Error: Unexpected end of JSON input" when trying to update Angular from 5.2 to 6.0

I am attempting to update an old Angular project that has not been updated for a long time from Angular 5.2 to 13.0. I am following the Angular guide (https://update.angular.io/?l=2&v=5.0-13.0) ...
Ben's user avatar
  • 41
0 votes
1 answer
694 views

Redirect and at the end of navigation call another method. Angular 5

I have a login screen, a landing screen and a Modal Popup Screen. One of the scenarios is User successfully Logs In --> Show Landing page --> Show Modal Popup screen. Login.ts : has the code to ...
WorksOnMyLocal's user avatar
0 votes
1 answer
149 views

Tried my best to stop duplicating data on continuous http request by clicking refresh button(for that particular component) Angular 5

The below is my .ts file for the Alarm Component and over HTML I am using a simple *ngFor over criticalObject.siteList to display the records This is not the original code I have simplified this but ...
Anmol Girdhar's user avatar
2 votes
1 answer
169 views

Filtering Array of Objects on the base of two fields in type script

I am working in angular 5 I have a problem I have an API response like: modules: Array(6) 0:{name:module1,value:'a',key:10} 1:{name:module2,value:'b',key:20} 2:{name:module3,value:'c',key:20} 3:{...
adnan ahmed's user avatar
0 votes
1 answer
64 views

Angular5 use external component in Lazy loaded Module

I has LazyModule which I load lazy, and another one ModuleA. I need to use component Module-A-Component inside LazyModule. How can I access this external component? I use Module-A-Component around all ...
Stoycho Konstantinov's user avatar
1 vote
1 answer
1k views

PDF text search in Angular 5+

I am trying to achieve something like below. I want the list of matching text should be listed in right side bar. I am sure it can be done using PDFTron but I am looking for alternatives. Is it ...
Siva's user avatar
  • 21

15 30 50 per page