Skip to content

Instantly share code, notes, and snippets.

@danielverissimo
Created August 18, 2017 01:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielverissimo/6d35e9b0d88e18414da1f8875917b3ff to your computer and use it in GitHub Desktop.
Save danielverissimo/6d35e9b0d88e18414da1f8875917b3ff to your computer and use it in GitHub Desktop.
Vuejs multiselect ajax
<multiselect
v-model="filter.additional.analyst_cb_id"
@input="fetchIndexData"
:options="analysts"
track-by="id"
label="name"
:multiple="false"
:searchable="true"
:loading="isLoading"
@search-change="findAnalysts"
:internal-search="false"
:close-on-select="true"
placeholder="Selecione..."
deselectLabel="Remover Pressione Enter..."
selectedLabel="Selecionado"
select-label="Pressione Enter">
<span slot="noResult">Oops! Nenhum analista encontrado com estas informações.</span>
</multiselect>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment