Skip to content

Is there any way to add custom template for Input showing selected value #197

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

Open
charmi2011 opened this issue Jun 9, 2022 · 1 comment

Comments

@charmi2011
Copy link

I want to know if there is any way to add customTemplate for the INPUT showing selected option.
Same as we have the template option for "notFoundTemplate" and "itemTemplate"

@sharangupta96
Copy link

sharangupta96 commented Jun 28, 2022

no I think.. to get the selected value displayed in input, I just used [(ngModel)]="selectedVal" and initialized selectedVal in selectEvent function --- (selected)="selectEvent($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

2 participants