is it possible to not show the selected items here?
Instead, I just want to show the placeholder which in this case it's "Select your favourite(s)... So the final input would look like this:
is it possible to not show the selected items here?
Instead, I just want to show the placeholder which in this case it's "Select your favourite(s)... So the final input would look like this:
You could set the limit
prop to 0 to hide the selected items, and change the limitText
prop.
<treeselect
:multiple="true"
:options="options"
placeholder="Select your favourite(s)..."
v-model="value"
:limit="0"
:limitText="() => 'Select your favourite(s)...'"
/>