• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sagalbot / vue-select / 21502500475

30 Jan 2026 02:42AM UTC coverage: 31.789%. First build
21502500475

Pull #1874

github

web-flow
Merge d1087f3eb into 7644929ef
Pull Request #1874: Upgrade Nuxt to v4 and migrate to @nuxt/eslint and @nuxt/fonts

232 of 288 branches covered (80.56%)

7 of 33 new or added lines in 8 files covered. (21.21%)

940 of 2957 relevant lines covered (31.79%)

17.08 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/dev/Dev.vue
NEW
1
<!-- eslint-disable vue/multi-word-component-names -->
×
2
<script lang="ts" setup>
×
3
import StyledComboBox from '@/components/ComboBox/StyledComboBox.vue'
×
4
import ComboBoxOption from '@/components/ComboBox/ComboBoxOption.vue'
×
5
import ComboBox from '@/components/ComboBox/ComboBox.vue'
×
6
import ComboBoxMenu from '@/components/ComboBox/ComboBoxMenu.vue'
×
7
import ComboBoxButton from '@/components/ComboBox/ComboBoxButton.vue'
×
8
import { countriesAndCodes } from '@docs/assets/static/data'
×
9
import { ref } from 'vue'
×
10

×
11
const selected = ref<{
×
12
  styled: { id: string; label: string } | null
×
13
  default: { id: string; label: string } | null
×
14
}>({
×
15
  styled: null,
×
16
  default: null,
×
17
})
×
18
</script>
×
19

×
20
<template>
×
21
  <div class="flex flex-col items-center space-y-10 justify-center pt-40">
×
22
    <StyledComboBox
×
23
      :label="({ label }) => label"
×
24
      v-model="selected.styled"
×
25
      :options="countriesAndCodes"
×
26
    >
×
27
      <ComboBoxOption
×
28
        @click="selected.styled = country"
×
29
        v-for="country in countriesAndCodes"
×
30
        :key="country.id"
×
31
        :class="['px-2 py-1']"
×
32
        :value="country"
×
33
        #default="{ isSelected }"
×
34
      >
×
35
        <span :class="{ 'text-indigo-600': isSelected }">
×
36
          {{ country.label }}
×
37
        </span>
×
38
      </ComboBoxOption>
×
39
    </StyledComboBox>
×
40

×
41
    <ComboBox v-model="selected" class="text-left w-64 relative">
×
42
      <ComboBoxButton
×
43
        as="div"
×
44
        class="px-2 border flex rounded items-center justify-center h-12 focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500"
×
45
      >
×
46
        <div class="flex-1">
×
47
          {{ selected.default?.label }}
×
48
        </div>
×
49
        <div>
×
50
          <svg
×
51
            xmlns="http://www.w3.org/2000/svg"
×
52
            fill="none"
×
53
            viewBox="0 0 24 24"
×
54
            stroke-width="1.5"
×
55
            stroke="currentColor"
×
56
            class="w-6 h-6"
×
57
          >
×
58
            <path
×
59
              stroke-linecap="round"
×
60
              stroke-linejoin="round"
×
61
              d="M8.25 15L12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"
×
62
            />
×
63
          </svg>
×
64
        </div>
×
65
      </ComboBoxButton>
×
66

×
67
      <ComboBoxMenu
×
68
        class="absolute mt-1 left-0 w-full h-64 overflow-y-scroll space-y-1 border rounded"
×
69
      >
×
70
        <ComboBoxOption
×
71
          @click="selected = country"
×
72
          v-for="country in countriesAndCodes"
×
73
          as="button"
×
74
          :key="country.id"
×
75
          :class="['px-2 py-1 flex text-left hover:bg-gray-100 w-full']"
×
76
          :value="country"
×
77
          #default="{ isSelected }"
×
78
        >
×
79
          <span :class="{ 'text-indigo-600': isSelected }">
×
80
            {{ country.label }}
×
81
          </span>
×
82
        </ComboBoxOption>
×
83
      </ComboBoxMenu>
×
84
    </ComboBox>
×
85
  </div>
×
86
</template>
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc