This commit is contained in:
David Lebee 2021-03-11 17:02:18 -05:00
parent f9cceadaa6
commit 85db43327b
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@poweredsoft/ng-select",
"version": "0.0.3",
"version": "0.0.4",
"peerDependencies": {
"@angular/common": "^9.1.9",
"@angular/core": "^9.1.9"

View File

@ -120,7 +120,7 @@ export class NgSelectComponent implements OnInit,OnDestroy {
}
get selectedModel() {
return this.selectComponent.hasValue ? this.selectComponent.selectedItems[0] : null;
return this.selectComponent.hasValue ? this.selectComponent.selectedItems[0].value : null;
}
refreshDataSource(searchTerm:any = null, page:number = null, pageSize:number = null){