All Questions
1,293
questions
0
votes
4
answers
73
views
How to filter specific key values from array based on the other key
I am having an array with name of the product and its storage
let array = [{name: "samsung A", storage: "128GB"}, {name: "samsung B", storage: "128GB"}, {name: &...
1
vote
0
answers
23
views
angularjs, filtering, returning equal results
I am filtering using AngularJS. Everything works fine, but I want a filter to work differently. If "1" is searched, the result should only be "1". I would like your help regarding ...
1
vote
1
answer
14
views
AngularJS - Possible to use $filter for Translation inside the RestangularProvider.setErrorInterceptor?
We are still working with AngularJS! We want so translate all the error messages sending from Responce or from Core. We already use translation with i18n. We want to implement the translation for the ...
-1
votes
1
answer
18
views
how to filter table data using angularJS filter from a selection value
I have a table with a column of Status, and I want to filter the table base on their status and I have put on the selection element to do so. here is my code below for the selection
<select class=&...
0
votes
2
answers
66
views
How to limit a text on occurrence of space or after completing a word in string/sentence
I am currently using a LimitTo filter to make excerpts of the description of an article to appear on the homepage of a website as a snippet in the feature section.
LimitTo is currently working for say ...
0
votes
0
answers
17
views
Angular service for obtain pointguards (position === 1)
Currently i'm developing a web app which shows the Golden State Warriors (Basketball Team) Roster.
My main goal consists in filtering all players by position.
Positions are numbers ordered from 1 to 5....
0
votes
0
answers
63
views
Function not being read, displays full code instead data
I am trying to create an assignment filter that filters the array so that its linked to the Course ID, however, it seems that my function is not being read so when I look to see what's inside by using ...
1
vote
0
answers
63
views
aggrid - Filter notContains and notEqual not working on treeData
I'm trying to fix an agGrid bug on treeData element. When I filter with contains, startsWith, endsWith, equals then it works as expected but when I filter with notContains and notEqual, nothing is ...
0
votes
1
answer
15
views
Need some help filtering a response
I have this function that loops throughs apps. Currently it looks for specific app numbers which filters my array.
var filterApplications = function(app) { return app.applicationStatus.code === 90 || ...
1
vote
0
answers
118
views
Filtering options from a md-select with multiple options checked
I get the infos from a database and I put on a table. I have some filters, but i need to choose one or more options in a md-select. For only one option the filter worked fine, but when i set the "...
0
votes
1
answer
35
views
Wrong month result using angularJS date filter
I have this angularJS view that I want to render a date with this format: MMM YYYY
My data is giving me the modified date as a string like "20210410072612"
I have:
{{item.default['Date ...
-1
votes
1
answer
135
views
Use constant as filter parameter in AngularJS
I' ve a code like this
{{ aDate | bxDate : 'WhitoutTimePart' }}
I want to change the string 'WhitoutTimePart' as a constant so that, if one day the value change, i don't have to go in every html file ...
1
vote
1
answer
57
views
Angular Filter Functionality
I need to have these two dropdown filters speak to each other so both are filtered when either are selected:
<div>
<div class="table-single-row select-list">
...
0
votes
1
answer
257
views
AngularJS Filter Data with Date as Today , Week and Month
$scope.Data = [
{
"title": "Algolia's Global Roadshow",
"author": "Ryan Chen",
"excerpt": "We've heard it from experts, industry ...
0
votes
0
answers
32
views
AngularJS Order By Function
I have an array that I am using ng-repeat on within the view html:
<ul>
<li ng-repeat="result in $ctrl.accaBuilderResults | orderBy: $ctrl.getSort">
{{result....