File tree 1 file changed +10
-1
lines changed
src/Our.Umbraco.UiExamples/App_Plugins/uiexamples/icons
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 33
33
34
34
< umb-box-header title-key ="uiexamplesIcons_listTitle "
35
35
description-key ="uiexamplesIcons_listDescription ">
36
+ < umb-search-filter input-id ="uiexamples-icon-search "
37
+ model ="vm.searchTerm "
38
+ label-key ="placeholders_filter "
39
+ text ="Type to filter... "
40
+ css-class ="w-100 "
41
+ auto-focus ="true ">
42
+ </ umb-search-filter >
36
43
</ umb-box-header >
37
44
38
45
< umb-box-content >
39
46
< div class ="flex justify-between flex-wrap ">
40
- < div ng-repeat ="icon in vm.icons | orderBy: 'name' " class ="umb-iconpicker-item cursor-pointer " style ="justify-content: left; "
47
+ < div ng-repeat ="icon in vm.icons | orderBy: 'name' | filter:vm.searchTerm "
48
+ class ="umb-iconpicker-item cursor-pointer "
49
+ style ="justify-content: left; "
41
50
ng-click ="vm.openIconOverlay(icon) ">
42
51
< umb-icon class ="umb-iconpicker-svg {{icon.name}} large " icon ="{{icon.name}} "> </ umb-icon >
43
52
< div class ="ml2 "> {{icon.name}}</ div >
You can’t perform that action at this time.
0 commit comments