This repository was archived by the owner on Oct 2, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ <h3>Object Tags (with groupBy)</h3>
90
90
< ui-select multiple tagging ="tagTransform " ng-model ="multipleDemo.selectedPeople " theme ="bootstrap " ng-disabled ="disabled " style ="width: 800px; " title ="Choose a person ">
91
91
< ui-select-match placeholder ="Select person... "> {{$item.name}} <{{$item.email}}></ ui-select-match >
92
92
< ui-select-choices repeat ="person in people | propsFilter: {name: $select.search, age: $select.search} " group-by ="'country' ">
93
- < div ng-if ="person.isTag " ng-bind-html ="person.name +' <small>(new)</small>'| highlight: $select.search "> </ div >
93
+ < div ng-if ="person.isTag " ng-bind-html ="( person.name | highlight: $select.search) +' <small>(new)</small>' "> </ div >
94
94
< div ng-if ="!person.isTag " ng-bind-html ="person.name + person.isTag| highlight: $select.search "> </ div >
95
95
< small >
96
96
email: {{person.email}}
@@ -120,7 +120,7 @@ <h3>Tagging without multiple</h3>
120
120
< ui-select tagging ="tagTransform " ng-model ="person.selected " theme ="bootstrap " ng-disabled ="disabled " style ="width: 800px; " title ="Choose a person ">
121
121
< ui-select-match placeholder ="Select person... "> {{$select.selected.name}} <{{$select.selected.email}}></ ui-select-match >
122
122
< ui-select-choices repeat ="person in people | propsFilter: {name: $select.search, age: $select.search} ">
123
- < div ng-if ="person.isTag " ng-bind-html ="person.name +' <small>(new)</small>'| highlight: $select.search "> </ div >
123
+ < div ng-if ="person.isTag " ng-bind-html ="( person.name | highlight: $select.search) +' <small>(new)</small>' "> </ div >
124
124
< div ng-if ="!person.isTag " ng-bind-html ="person.name + person.isTag| highlight: $select.search "> </ div >
125
125
< small >
126
126
email: {{person.email}}
You can’t perform that action at this time.
0 commit comments