Skip to content

feat(VAutocomplete): support multiple match highlighting#16462

Merged
KaelWD merged 5 commits intodevfrom
feat/filter-multiple-matches
Mar 7, 2025
Merged

feat(VAutocomplete): support multiple match highlighting#16462
KaelWD merged 5 commits intodevfrom
feat/filter-multiple-matches

Conversation

@KaelWD
Copy link
Member

@KaelWD KaelWD commented Jan 18, 2023

Closes #18946

Markup:

<template>
  <v-container>
    <v-combobox v-model:search="search" :items="items" item-title="name" />
  </v-container>
</template>

<script setup>
  import { computed, ref } from 'vue'

  const search = ref('')
  const items = [
    {
      name: 'Frozen Yogurt',
      calories: 159,
      fat: 6.0,
      carbs: 24,
      protein: 4.0,
      iron: '1',
    },
    {
      name: 'Jelly bean',
      calories: 375,
      fat: 0.0,
      carbs: 94,
      protein: 0.0,
      iron: '0',
    },
    {
      name: 'KitKat',
      calories: 518,
      fat: 26.0,
      carbs: 65,
      protein: 7,
      iron: '6',
    },
    {
      name: 'Eclair',
      calories: 262,
      fat: 16.0,
      carbs: 23,
      protein: 6.0,
      iron: '7',
    },
    {
      name: 'Gingerbread',
      calories: 356,
      fat: 16.0,
      carbs: 49,
      protein: 3.9,
      iron: '16',
    },
    {
      name: 'Ice cream sandwich',
      calories: 237,
      fat: 9.0,
      carbs: 37,
      protein: 4.3,
      iron: '1',
    },
    {
      name: 'Lollipop',
      calories: 392,
      fat: 0.2,
      carbs: 98,
      protein: 0,
      iron: '2',
    },
    {
      name: 'Cupcake',
      calories: 305,
      fat: 3.7,
      carbs: 67,
      protein: 4.3,
      iron: '8',
    },
    {
      name: 'Honeycomb',
      calories: 408,
      fat: 3.2,
      carbs: 87,
      protein: 6.5,
      iron: '45',
    },
    {
      name: 'Donut',
      calories: 452,
      fat: 25.0,
      carbs: 51,
      protein: 4.9,
      iron: '22',
    },
  ]
</script>

@sreenivasulureddysura
Copy link

@KaelWD any update?

@KaelWD KaelWD changed the title feat: support multiple filter result highlighting, add to VDataTable feat(VAutocomplete): support multiple match highlighting Mar 6, 2025
@KaelWD KaelWD added this to the v3.8.0 (Andromeda) milestone Mar 6, 2025
@KaelWD KaelWD changed the base branch from master to dev March 6, 2025 10:57
@KaelWD KaelWD added T: enhancement Functionality that enhances existing features and removed T: feature A new feature labels Mar 6, 2025
@KaelWD KaelWD marked this pull request as ready for review March 6, 2025 11:10
@KaelWD KaelWD requested a review from a team March 6, 2025 11:36
@KaelWD KaelWD merged commit 9da6442 into dev Mar 7, 2025
18 checks passed
@KaelWD KaelWD deleted the feat/filter-multiple-matches branch March 7, 2025 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C: VAutocomplete C: VCombobox T: enhancement Functionality that enhances existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report][3.4.9] VCombobox Multiple matches is not implemented

4 participants