Events

Event

Description

select

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

create

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

input

When updating model value. Payload - the new value.

change

When the values changes. Payload - array of selected vSelectOptions. 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)"
    />

Last updated