Open Blucbo opened 5 years ago
I'm submitting a ... (check one with "x")
Current behavior: Can not use custom template for option.
Expected behavior: Do we have possibility create custom template(option)?
Steps to reproduce:
Like this:
<nb-select placeholder="Select Showcase" [(selected)]="selectedItem"> <ng-template let-item="item"> <img height="15" width="15" [src]="item.avatar"/> <b>{{item.name}}</b> </ng-template> </nb-select>
instead of:
<nb-select placeholder="Select Showcase" [(selected)]="selectedItem"> <nb-option value="">Option empty</nb-option> <nb-option value="0">Option 0</nb-option> <nb-option value="1">Option 1</nb-option> <nb-option value="2">Option 2</nb-option> <nb-option value="3">Option 3</nb-option> <nb-option value="4">Option 4</nb-option> </nb-select>
Lacking a lot of functions as in this select https://ng-select.github.io/ng-select#/templates
Any update on this?
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior: Can not use custom template for option.
Expected behavior: Do we have possibility create custom template(option)?
Steps to reproduce:
Like this:
instead of:
Lacking a lot of functions as in this select https://ng-select.github.io/ng-select#/templates