fixed.
This commit is contained in:
parent
f9cceadaa6
commit
85db43327b
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@poweredsoft/ng-select",
|
"name": "@poweredsoft/ng-select",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@angular/common": "^9.1.9",
|
"@angular/common": "^9.1.9",
|
||||||
"@angular/core": "^9.1.9"
|
"@angular/core": "^9.1.9"
|
||||||
|
@ -120,7 +120,7 @@ export class NgSelectComponent implements OnInit,OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get selectedModel() {
|
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){
|
refreshDataSource(searchTerm:any = null, page:number = null, pageSize:number = null){
|
||||||
|
Loading…
Reference in New Issue
Block a user