TransWikia.com

PrimeNG: Simple Button Dropdown without MenuModel

Stack Overflow Asked by user2622344 on December 25, 2021

I need a very simple dropdown with custom items in the dropdown body. The SplitButton in PrimeNG needs an item-array from which the body will be created automatically: https://www.primefaces.org/primeng/showcase/#/splitbutton
But however I want to create all selectable options with custom html code exactly like in NG-Bootstrap: https://stackblitz.com/run?file=app/dropdown-basic.ts

Is there a possibility to archive this?

One Answer

Try ng-select

https://ng-select.github.io/ng-select#/templates

This has possibility to insert a complete template of html code as a dropdown item.

Answered by Lotte Lemmens on December 25, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP