Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report][3.7.4] v-autocomplete placeholder text missing after manual reset #20718

Open
agentschmitt opened this issue Nov 20, 2024 · 2 comments
Labels
C: VAutocomplete S: has PR The issue has a pending Pull Request T: bug Functionality that does not work as intended/expected

Comments

@agentschmitt
Copy link

Environment

Vuetify Version: 3.7.4
Vue Version: 3.5.13
Browsers: Chrome 131.0.0.0
OS: Windows 10

Steps to reproduce

Select a value in the autocomplete
Reset the value by updating the model in code (dont click the clear action)

Expected Behavior

The autocomplete shows placeholder text
The autocomplete shows no clear icon, cause we have no value selected!

Actual Behavior

The autocomplete shows as empty
The autocomplete shows a clear icon on hover

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

some workaround i found is to set the current selected value used for v-model also as key for the combobox, which will make vue rerender it ony every selection change :(

@EvgenyWas
Copy link
Contributor

I believe the first point of the issue is an expected behavior according to this PR.

@MatthewAry
Copy link
Contributor

Duplicate of #20660

@MatthewAry MatthewAry marked this as a duplicate of #20660 Nov 26, 2024
@MatthewAry MatthewAry closed this as not planned Won't fix, can't repro, duplicate, stale Nov 26, 2024
@J-Sek J-Sek added T: bug Functionality that does not work as intended/expected S: has PR The issue has a pending Pull Request C: VAutocomplete labels Nov 27, 2024
@J-Sek J-Sek reopened this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VAutocomplete S: has PR The issue has a pending Pull Request T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants