[Bug Report][3.6.10] VAutocomplete not resetting label/ui on programmatic model value clear
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 41k
- Forks
- 7.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 11
Description
Environment
Vuetify Version: 3.6.10
Last working version: 3.6.3
Vue Version: 3.4.31
Browsers: Chrome 126.0.0.0
OS: Mac OS 10.15.7
Steps to reproduce
- Select a value from the list
- Click the 'Clear' button
Expected Behavior
- Label resets to correct position and clearable icon is gone
Actual Behavior
- Label stays above input as if there is something selected, clearable icon stays inside input as well
Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
There is no issue with the actual value of the input. This issue seems to just be cosmetic.
Something worth noting is if the field is prefilled, using the initial clear button works. Also the clear button inside seems to work all the time as well.
I used the playground to go back a few revisions to see when this became a problem. Looks like something in 3.6.4 that broke it, https://github.com/vuetifyjs/vuetify/releases/tag/v3.6.4.
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 Vuetify Playground reproduction and compare the behavior between 3.6.3 and 3.6.4, focusing on VAutocomplete after its model value is cleared programmatically. Done means the label returns to its correct position and the clearable icon disappears, while the input value remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100