I would like to add a button somewhere inside the header of the multiselect component so user can click that button instead of relying on the onChange event of the multiselect component.
On the documentation, there are only a couple of pre-defined directive.
pTemplate="selectedItems"
and pTemplate="item"
to edit the template. How to i add custom html aside from those two. I would like to add the button besides the search input form?
I think you cannot override the component's Html, however you can play a workaround, copy these files in your project, change their html so it will suits you and then change your imports from the
primeng dependency
to thatcustomized component
.