0.0.2 of ng-select support of placeholder
This commit is contained in:
parent
0a3247ab81
commit
419c3e2383
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@poweredsoft/ng-select",
|
||||
"version": "0.0.1",
|
||||
"version": "0.0.2",
|
||||
"peerDependencies": {
|
||||
"@angular/common": "^9.1.9",
|
||||
"@angular/core": "^9.1.9"
|
||||
|
@ -6,6 +6,7 @@
|
||||
[trackByFn]="trackFn"
|
||||
[searchable]="true"
|
||||
[multiple]="true"
|
||||
[placeholder]="placeholder"
|
||||
(change)="valueChanged($event)">
|
||||
<ng-container *ngIf="hasOptionTemplate">
|
||||
<ng-template ng-option-tmp let-item="item" let-index="index">
|
||||
|
@ -31,6 +31,7 @@ export class MultiSelectComponent implements OnInit,OnDestroy {
|
||||
@Input() serverFiltering:boolean;
|
||||
@Input() bindLabel:string;
|
||||
@Input() bindValue: string;
|
||||
@Input() placeholder: string;
|
||||
|
||||
@Output('change') changeEvent = new EventEmitter();
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
<ng-select [items]="data$ |async"
|
||||
[bindLabel]="bindLabel"
|
||||
[bindValue]="bindValue"
|
||||
[bindValue]="bindValue"
|
||||
[placeholder]="placeholder"
|
||||
autofocus
|
||||
[typeahead] = "searchInput$"
|
||||
[trackByFn]="trackFn"
|
||||
|
@ -35,6 +35,7 @@ export class NgSelectComponent implements OnInit,OnDestroy {
|
||||
@Input() serverFiltering:boolean;
|
||||
@Input() bindLabel:string;
|
||||
@Input() bindValue: string;
|
||||
@Input() placeholder: string;
|
||||
|
||||
@Output('change') changeEvent = new EventEmitter();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user