Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vuetify: How to specify the background-color of a selected item in v-select component

I have a v-select widget (combobox / select) in a Vue application. When I open it and hover over an option, the background-color of the option is highlighted (currently light-grey). I want the background-color to have a different color when the mouse arrow hovers over an option. I can not see a property of the v-select widget that supports this. Is there a way to achieve this?

v-select::hover {
  background-color: "#00857A";
}
<v-select
    append-icon="../assets/img/sy-arrow-chevron-down.svg"
    background-color="white"
    :height="68"
    item-text="label"
    item-value="key"
    class="mr-3"
    v-model="type"
    :width="421"
    :items="searchCriteria"
    @change="performSearch()"
  ></v-select>
like image 944
Marc Avatar asked Oct 25 '25 04:10

Marc


1 Answers

Add item-color attribute to v-select

like image 173
Kənan Rəcəbli Avatar answered Oct 28 '25 03:10

Kənan Rəcəbli



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!