Is there any way to add custom template for Input showing selected value
charmi2011 opened this issue · 1 comments
charmi2011 commented
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 commented
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)"