Replies: 1 comment 1 reply
-
<template v-slot:item="{ item, props }">
<v-list-item v-bind="props" |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
betta73
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Vuetify beta version (
v3.0.0-beta.6
) because I have to use Vue 3 and Vuetify 2.x is not supported by it.I want to create an i18n selector with the country flag icon.
To manage i18n I use the
vue-i18n
library.As mentioned in
vue-i18n
it is very simple to create this selector (https://vue-i18n.intlify.dev/guide/essentials/scope.html#locale-changing).So what I'm doing is using the Vuetify
<v-select>
component to add my customization.The problem is that the component looks the way I want it, but the selection behavior breaks.
There my code:
NOTE: I need to use
<v-list-item>
in the item slot becasuse if I remove it all items are showed on the same line, as unique option.Any idea on what i'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions