Posted 3 August 2022, 7:49 am EST
Hi, we are using the multi-select auto-complete component, and would like to include a “view details” link in the custom template that displays the drop down items. We’d like for the user to be able to click the link (opened in a separate tab) without triggering selection of the item. Is there a way to designate only part of a template as the selection handler?
Example-allow user to click “View Details” without selecting “hypothalamus”:
<ng-template wjItemTemplate>
<div class="item">
<b>hypothalamus</b><br />
(OBI)
</div>
<a href="http://purl.obolibrary.org/obo/EMAPA_17536" target="_blank">View Details</a>
</ng-template>
Thanks in advance for any help with this.