# Events

| Event              | Description                                                                                                                                                                   |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **select**         | When an option is selected, even if the option is already selected. Payload - the selected [VSelectOption](/vue-select/vselectoption.md).                                     |
| **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](/vue-select/vselectoption.md). |
| **input**          | When updating model value. Payload - the new value.                                                                                                                           |
| **change**         | When the values changes. Payload - **array** of selected [vSelectOptions](/vue-select/vselectoption.md). `array.raw` returns the raw value equivalent.                        |
| **focus**/**blur** | When component is focused/blurred                                                                                                                                             |
| **open**/**close** | When the dropdown opens/closes                                                                                                                                                |

Example

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://desislavsd.gitbook.io/vue-select/events.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
