vue-select
  • Introduction
  • Installation
  • Usage
  • Props
  • Slots
  • Events
  • Components
  • Layout & Theming
  • VSelectOption
  • Changelog
Powered by GitBook
On this page

Was this helpful?

Events

PreviousSlotsNextComponents

Last updated 5 years ago

Was this helpful?

Event

Description

select

When an option is selected, even if the option is already selected. Payload - the selected .

create

When a new option is created on attempt for tagging. This event is fired even if tagging is not allowed. Payload - the created .

input

When updating model value. Payload - the new value.

change

When the values changes. Payload - array of selected . array.raw returns the raw value equivalent.

focus/blur

When component is focused/blurred

open/close

When the dropdown opens/closes

Example

<v-select v-model="user" from="/users" 
    @create="saveNewOptionToServer($event)" 
    @change="log($event, $event.raw)"
    />
VSelectOption
VSelectOption
vSelectOptions