nuxt / nuxt/ui

[UInputMenu] clearing `search-term` does not update the input element

Open
#6,473 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

triage
Dominant language
TypeScript
Stars
6.9k
Forks
1.1k
Avg merge
1d 7h
Merged PRs (30d)
57

Description

Environment
Operating system Windows 10.0.26200
CPU AMD Ryzen 5 5600X 6-Core Processor (12 cores)
Node.js version v26.1.0
nuxt/cli version 3.35.2
Package manager npm@11.14.1
Nuxt version 4.4.6
Nitro version 2.13.4
Builder vite@7.3.3
Config app, compatibilityDate, css, devtools, eslint, experimental, i18n, icon, modules, runtimeConfig, scripts, ssr
Modules @nuxt/eslint@1.15.2, @nuxt/ui@4.7.1, @nuxt/scripts@1.1.0, @pinia/nuxt@0.11.3, pinia-plugin-persistedstate/nuxt@4.7.1, @vueuse/nuxt@14.3.0, motion-v/nuxt@2.2.1, @nuxtjs/i18n@10.3.0
Is this bug related to Nuxt or Vue?

Nuxt

Package

v4.x

Version

v4.7.1

Reproduction

https://codesandbox.io/p/sandbox/admiring-scooby-xxgk9h

Description

Write something to input, and then try clearing it with the button. It sets the modelValue to '' but the input box is not cleared.

Additional context

No response

Logs

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CodeSandbox reproduction and the UInputMenu component entry point, then trace how the search-term model value reaches the input element. Confirm the behavior when the clear button sets the value to an empty string; done means the visible input is cleared as well.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.