Open mkndn opened 7 years ago
I would like to add options to the sm-select dropdown based on the current row data inside a template.
Something like this...
<template let-data="rowData" let-i="rowIndex" pTemplate="body"> <sm-select placeholder="attributes" [control]="attributeMaster" (onChange)="updateModel($event);" (onOpen/onShow)="loadData(data);" class="fluid"> <option *ngFor="let item of selectAttributes" [value]="item.value"> <span [innerHTML]="item.modal.displayName"></span> </sm-select> </template>
Please provider onOpen/onShow events for sm-select
Click event works with this control. It would be really helpful if the documentation is updated to include this event.
I would like to add options to the sm-select dropdown based on the current row data inside a template.
Something like this...
Please provider onOpen/onShow events for sm-select