Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting errors :(
Message
 
 
À
Tous
Information générale
Forum:
AngularJS
Catégorie:
Compilation
Titre:
Getting errors :(
Divers
Thread ID:
01653229
Message ID:
01653229
Vues:
60
Hi everybody,

I have the following HTML
<div id="tagsList" class="tags-cloud col-xs-12">
                    <div ng-repeat="filter in filters.filters">
                        <div class="tag">
                            <span><span>{{filter.columnDisplayName + " "}}</span>
                            <span class="operator">{{filter.strOperator}}</span>
                            <span>{{' "' + filter.displayValue + '"'}}</span></span>
                            <span><b ng-click="removeFilter($index)" class="cross">x</b></span>
                        </div>
                        <span class="logic" ng-show="!$last">{{filters.logic}}</span>
                    </div>
                </div>
I want to change the {{filter.strOperator}} into

{{getOperatorDescription(filter.strOperator)}}

However, I am getting errors when I try that.

First time it works, then the second time I get
TypeError: Cannot create property 'value' on string ''
I am not sure how should I make it to work.

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform