fixed that when you empty the search it gets back the records.

This commit is contained in:
David Lebee
2021-08-26 10:23:36 -04:00
parent 3d02e19bd1
commit 4ccba42b18
3 changed files with 75 additions and 73 deletions
@@ -75,7 +75,7 @@ selected: {{ myValue3 | json }}
selected: {{ myValue2 | json }}
<h2>Multi-Select Demo</h2>
<ps-ng-multi-select [dataSource]="merchantDataSource4" bindLabel="name" bindValue="id" [serverFiltering]="true" [(ngModel)]="myValue4" >
<ps-ng-multi-select [dataSource]="merchantDataSource4" sortingPath="name" [searchPath]="['name', 'address']" bindLabel="name" bindValue="id" [serverFiltering]="true" [(ngModel)]="myValue4" >
<div *psNgSelectOption="let item">
<img src="assets/32x32-blue.png"><span>Name: </span>{{ item.name }} - <span> Address: </span>{{item.address }}
</div>