Skip to content

[Bug Report][3.12.4] VAutocomplete emits update:search with empty string on blur, breaking remote-data selections #22767

@Drillan767

Description

@Drillan767

Environment

Vuetify Version: 3.12.4
Vue Version: 3.5.31
OS: macOS 10.15 (current)

Steps to reproduce

  1. Bind v-model:search on a VAutocomplete and use it to fetch items from a remote API
  2. Search for an item not in the initial list, select it
  3. Click outside the field to trigger the blur
  4. @update:search fires with "" / undefined → remote reload → selected item disappears from items → label no longer renderable

Expected Behavior

Blurring the field should not emit @update:search.

Actual Behavior

@update:search is triggered, which updates / clears the items list, with the selected element among it. The field will then display the object's value (for example, an ID) instead of label

Reproduction Link

https://play.vuetifyjs.com/#...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions