Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting errors :(
Message
 
 
To
All
General information
Forum:
AngularJS
Category:
Compilation
Title:
Getting errors :(
Miscellaneous
Thread ID:
01653229
Message ID:
01653229
Views:
58
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
Next
Reply
Map
View

Click here to load this message in the networking platform