Semantic-UI
Semantic-UI copied to clipboard
[Dropdown] Add a separate template for a menu item’s HTML
Can you define your own format in the menu portion of the DropDown while using the Remote Search API? e.g. https://semantic-ui.com/modules/dropdown.html#match-search-query-on-server
Looking at the code the template for the menu starts 3773, in function $.fn.dropdown.settings.templates
It'd be a nice feature to have a callback for this.
Hi @geemang2000, could you please elaborate, a callback for what?
I was thinking a render block that can be defined by the coder. The render block would allow the coder to define the "item". e.g. <div class="item>....my special HTML
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
$.fn.dropdown.settings.templates