Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is the problem?
Message
 
 
À
Tous
Information générale
Forum:
Javascript
Catégorie:
Autre
Titre:
Where is the problem?
Divers
Thread ID:
01619388
Message ID:
01619388
Vues:
41
Update. The solution I implemented as a workaround - I added a new String property TotalAllowedDisplayed and send infinity symbol from the C# code. I had to save the file as unicode in order to send it properly.


Hi everybody,

I'm trying the following for the drop down list:
<td>
                                    <select class="form-control" ng-model="result.mode" style="width:200px;"
                                            ng-change="updateMode(result, '{{result.mode}}' )"
                                            ng-options="s.modeId as s.description + ' (' + s.totalUsed + ' of ' + (s.totalAllowed > 10000)?'∞':s.totalAllowed.toString()  + ')' for s in metaData.salespointModes"></select>
                                </td>
The idea is to show infinity symbol when the totalAllowed number is big enough. When I had just s.totalAllowed, everything was displayed fine. Now, when I try to introduce the infinity symbol, this is the only thing I see in the drop down now.

Do you see what I a may be doing wrong here?

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


My Blog
Répondre
Fil
Voir

Click here to load this message in the networking platform