Skip to content

feat(VCombobox): add trim-values prop#22895

Open
J-Sek wants to merge 1 commit into
devfrom
feat/vcombobox-trim-values
Open

feat(VCombobox): add trim-values prop#22895
J-Sek wants to merge 1 commit into
devfrom
feat/vcombobox-trim-values

Conversation

@J-Sek

@J-Sek J-Sek commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

fixes #14874

Could be a default in v5.0, depending on reception and feedback. Original issue did not attract too much attention.

<template>
  <v-app theme="dark">
    <v-container max-width="500">
      <v-alert class="mb-4"><pre>{{ values }}</pre></v-alert>
      <v-combobox
        v-model="values"
        :items="['California', 'Colorado', 'Florida', 'Georgia', 'Texas', 'Wyoming']"
        label="Combobox"
        chips
        closable-chips
        multiple
		trim-values
      />
    </v-container>
  </v-app>
</template>

<script setup>
  import { shallowRef } from 'vue'

  const values = shallowRef([])
</script>

@J-Sek J-Sek self-assigned this Jun 4, 2026
@J-Sek J-Sek added T: feature A new feature C: VCombobox labels Jun 4, 2026
@J-Sek J-Sek changed the base branch from master to dev June 4, 2026 11:47
@J-Sek J-Sek marked this pull request as ready for review June 4, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report][2.6.4] v-combobox will have empty value for spaces

1 participant