[UInputMenu] clearing `search-term` does not update the input element
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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