Skip to content

Placeholder text changes to first selected option #208

@floorish

Description

@floorish

If I use the props :searchable="false" and :multiple="true" the placeholder text is replaced by the label of the first chosen option.

Steps to reproduce:

  1. Define a multiselect component
<multiselect v-model="myModel" :options="myOptions" track-by="id" label="content" :searchable="false" :multiple="true" placeholder="myPlaceholder"></multiselect> 
  1. Select the first option.

Expected

placeholder stays "myPlaceholder".

Actual

placeholder changes to whatever option you have chosen first

Introduced in PR: #164
(Before that it worked fine)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions