Skip to content

Instantly share code, notes, and snippets.

View hitochan777's full-sized avatar

hitochan777

View GitHub Profile
<div class="container">
<!--
<svg width="100%" height="100%" viewBox="0 0 496 215" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M496 91C374.38 91 121.129 1 -9 1" stroke="#EDEBEB" />
<path d="M495 113C373.62 113 120.871 68 -9 68" stroke="#EDEBEB" />
<path d="M495 129C375.788 129 127.552 151 0 151" stroke="#EDEBEB" />
</svg>
<svg width="100%" height="100%" viewBox="0 0 496 215" fill="none" xmlns="http://www.w3.org/2000/svg">
<defs>
@hitochan777
hitochan777 / v-select.vue
Last active February 20, 2024 04:21
[Vuetify] VSelect with empty selection text when no matching item
<template>
<v-select
:items="items"
:model-value="isValid ? modelValue : null"
:item-value="itemValue"
v-bind="$attrs"
>
<template #[name]="vars" v-for="_, name in $slots">
<slot :name="name" v-bind="vars" />
</template>