Skip to content

Commit 2d03276

Browse files
committed
Merge branch 'master' into pr/21
2 parents fea0d78 + 589385c commit 2d03276

File tree

1 file changed

+10
-1
lines changed
  • src/Our.Umbraco.UiExamples/App_Plugins/uiexamples/icons

1 file changed

+10
-1
lines changed

src/Our.Umbraco.UiExamples/App_Plugins/uiexamples/icons/icons.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,19 @@
2828
<umb-box ng-if="!vm.loading">
2929
<umb-box-header title-key="uiexamplesIcons_listTitle"
3030
description-key="uiexamplesIcons_listDescription">
31+
<umb-search-filter input-id="uiexamples-icon-search"
32+
model="vm.searchTerm"
33+
label-key="placeholders_filter"
34+
text="Type to filter..."
35+
css-class="w-100"
36+
auto-focus="true">
37+
</umb-search-filter>
3138
</umb-box-header>
3239
<umb-box-content>
3340
<div class="flex justify-between flex-wrap">
34-
<div ng-repeat="icon in vm.icons | orderBy: 'name'" class="umb-iconpicker-item cursor-pointer" style="justify-content: left;"
41+
<div ng-repeat="icon in vm.icons | orderBy: 'name' | filter:vm.searchTerm"
42+
class="umb-iconpicker-item cursor-pointer"
43+
style="justify-content: left;"
3544
ng-click="vm.openIconOverlay(icon)">
3645
<umb-icon class="umb-iconpicker-svg {{icon.name}} large" icon="{{icon.name}}"></umb-icon>
3746
<div class="ml2">{{icon.name}}</div>

0 commit comments

Comments
 (0)