-
Notifications
You must be signed in to change notification settings - Fork 869
Closed
Labels
Description
Environment
- Operating System: Darwin
- Node Version: v22.14.0
- Nuxt Version: 3.16.0
- CLI Version: 3.22.5
- Nitro Version: 2.11.6
- Package Manager: [email protected]
- Builder: -
- User Config: devtools, modules, components, css, compatibilityDate
- Runtime Modules: @nuxt/[email protected], @pinia/[email protected], [email protected]
- Build Modules: -
Is this bug related to Nuxt or Vue?
Nuxt
Version
v3.0.0
Reproduction
<template>
<div>
<UInputMenu :items="idList" v-model="value" />
</div>
</template>
<script lang="ts" setup>
const value = ref(0)
const idList = ref([168, 170, 203])
</script>
Description
If adding array of numbers to InputMenu the menu isn't closing after choosing a number.
Only way to close it is double-clicking on the dropdown arrow.
The Console shows an error in useFilter.
Additional context
Logs
Uncaught (in promise) TypeError: string.normalize is not a function
at contains (useFilter.js?v=87101672:23:21)
at InputMenu.vue:114:18
at wrappedFn (reactivity.esm-bundler.js?v=87101672:820:19)
at Array.filter (<anonymous>)
at apply (reactivity.esm-bundler.js?v=87101672:828:27)
at Proxy.filter (reactivity.esm-bundler.js?v=87101672:720:12)
at InputMenu.vue:112:50
at Array.map (<anonymous>)
at ComputedRefImpl.fn (InputMenu.vue:112:27)
at refreshComputed (reactivity.esm-bundler.js?v=87101672:353:29)