187 questions
1 vote
1 answer
438 views
How to bypass debounceTime in angular
I have this text input with a debounceTime pipe, so that we don't hit the server too often while the user is typing the word: this.keyUp$ .pipe(debounceTime(500)) .subscribe(data => this....
3 votes
2 answers
2k views
How to overwrite / match extended CurrencyPipe method type in Angular
I am trying to reuse existing currency pipe from Angular common. Goal is to have .00 truncated when the value is round. For this I've wrote this piece of code: /** Transform currency string and round ...
1 vote
1 answer
4k views
Angular V9 Async pipe not updating template view on data change [closed]
I'm pretty much a standstill with this now guys. I'm using a small service to get the details from an API, returning a JSON object. I am returning this as an Observable from the service method; then ...
0 votes
1 answer
562 views
How to show column arrow icon based on Dropdown selection in angular 6?
Kindly see the below picture, there is a drop-down button called sort where all the headers are there.if i select any of the header it should display up and down arrow.now its displaying in all ...
0 votes
2 answers
387 views
How can I sort an array of dates without considering the year in the dates
In angular 4, I am displaying a list of upcoming birthdays in ascending order. However, it is counting a year as well. I just want to sort it by date and month but not a year. How can i display it ...
0 votes
0 answers
2k views
Filter table data based on mat-tree checkbox selection, in angular 6
I have group checkbox which is having parent and children. I am using the following slackblitz example to achieve that: https://stackblitz.com/angular/nkmjydodvnp?file=app%2Ftree-checklist-example.ts ...
6 votes
1 answer
4k views
Is there any way to use Angular percent pipe without sign?
I am trying to format the value with percent pipe in html(Angular2) and i need the percentage value without % sign
0 votes
1 answer
2k views
Angular 6 The pipe 'index' could not be found
Currently when using Angular 6 I am getting the following error when I try to use the index pipe for NgFor: Uncaught Error: Template parse errors: The pipe 'index' could not be found (" <ul class="...
-1 votes
1 answer
454 views
Check if a date is within 30 days with Angular-cli pipes
How can I bring all the Events that begin inside this day to 30 days? I'd done this pipe but it doesn't work there is an array of events and needs to bring only the events that have dateStart inside ...
0 votes
0 answers
199 views
angular 2 order by pipe not working with same value in any column
Well, I have an array objects with random values. Ex. var value = [ {"name":"ABC","status":"R","city":"Pune"}, {"name":"PQR","status":"R","city":"Nashik"}, ...
1 vote
0 answers
218 views
Global refresh Angular 2+ app without page refresh
I was wondering if it was possible to perform a global refresh on my Angular (2+) app. I am using the OnPush change detection strategy for performance. I have created a service that translates words ...
0 votes
1 answer
625 views
Angular 2 index not showing after filter pipe
trying to make a filter with pipes but when i use the pipe index no longer shows up in table can't find whats wrong. <form> <label>Search</label> <input class="search" ...
0 votes
1 answer
1k views
Using Custom Pipes in services in angular2
I want to call the my custom pipe inside Injectable service. I checked many threads in stackoverflow. But they talk about using custom pipes inside a component. Can u please help me here, any helpful ...
0 votes
2 answers
905 views
Error while inserting pipe in component of angular 2 application
I am working with Angular 2 and I have to create search filter. So I created a pipe with search logic and injected it in desired component. But while injecting, I am getting error. This is code where ...
0 votes
1 answer
245 views
Angular Pipes - One input for two data rows
I'm building an app that has a data set inside it. I need to create search filters for this data set, and for this I'm using Angular pipes. The problem is that i would like to check two data fields ...