How to use no-data-text prop in v-combobox in vuetify?

Hello i have a simple combobox in my application, and i would like to specify the default text message which should be shown on the screen when there are no entries in items props.

<v-combobox
    :items="someValues"
    dark
    color="white"
    :no-data-text="noDataText"
    ></v-combobox>

For the mentioned purpose i use prop called no-data-text and pass some variable to it. I expected that when i click on the empty combobox, my message will be displayed. I used such a mechanism in the past with some selects and it worked properly. How to achieve such a behavior with combobox?

86 thoughts on “How to use no-data-text prop in v-combobox in vuetify?”

Leave a Comment