Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sm-select onOpen/onShow event #169

Open
mkndn opened this issue Mar 22, 2017 · 1 comment
Open

sm-select onOpen/onShow event #169

mkndn opened this issue Mar 22, 2017 · 1 comment

Comments

@mkndn
Copy link

mkndn commented Mar 22, 2017

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

@mkndn mkndn changed the title sm-select click/onOpen/onShow event sm-select onOpen/onShow event Mar 22, 2017
@mkndn
Copy link
Author

mkndn commented Mar 22, 2017

Click event works with this control. It would be really helpful if the documentation is updated to include this event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant