[Vuejs]-Vuetify: v-autocomplete doesn't highlight text when using the item and selection slots

0👍

you have to omitted hide-selected in v-autocomplete tag and after that, you need to use the below code inside v-autocomplete tag.

code:

     <template
        slot="item"
        slot-scope="{ parent, item, tile }"
      >
           <v-list-tile-content>
            <v-list-tile-title
                v-html="parent.genFilteredText(item.title)"
            > 
            </v-list-tile-title>
        </v-list-tile-content>
      </template> 

Leave a comment