Don't show selected items in multi-select-box


#1

Just a newbie-question:
I have to style a multi-select box.
Initially the select-box shows a text like: “select multiple item”.
on click, the dropdown opens and you an see, search and select the different possibilities.
But after finishing choice, the select box shall still show the same line of text: “select multiple item”.
(Don’t ask why. That is the design!)

Is it possible to configure select2 in this way?


#2

Sorry, it is not possible to configure Select2 to do this. Select2 always displays the selected items as tags after the user has made at least one selection. It only displays its placeholder text when there are no selections.

Could you display the prompt text above or below the Select2 instead of using the placeholder?