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.0.0-beta.5] Combobox v-model data binding does not work like expected #15418

Closed
anne-schwarz-osp opened this issue Jul 11, 2022 · 1 comment
Assignees
Labels
C: VCombobox VCombobox T: bug Functionality that does not work as intended/expected
Milestone

Comments

@anne-schwarz-osp
Copy link

Environment

Vuetify Version: 3.0.0-beta.5
Vue Version: 3.2.36
Browsers: Chrome 103.0.0.0
OS: Windows 10

Issue 1: v-combobox content/string gets cleared when combobox is clicked

Steps to reproduce

  1. Click into the v-combobox
  2. Enter some chars

Expected Behavior

  • The predefined string is visible inside the v-combobox
  • The textcursor is at the end of the string
  • Entering chars extends the string

Actual Behavior

  • The combobox seems to be empty
  • Entering chars overwrites the whole predefined string

Issue 2: reseting v-model data does not work for combobox

Steps to reproduce

  1. Click at the appended close icon to delete the string
  2. Click into the v-combobox
  3. Enter some chars

Expected Behavior

  • The combobox is empty
  • I can enter a new string
  • Only the new string is stored in the v-model variable

Actual Behavior

  • The value entered before resetting it is displayed again
  • Entering chars extends the string

Reproduction Link

https://codepen.io/anne-schwarz-osp/pen/mdxEKmy?editors=1010

Other comments

I assumed that the combo box behaves like a v-text-field but with bonus functionality. The text field itself works pretty fine and I can reset the value passed to it. But for the combo box the connection to v-model seems to not work correctly.

@KaelWD

This comment was marked as outdated.

@KaelWD KaelWD marked this as a duplicate of #15151 Aug 8, 2022
@KaelWD KaelWD closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2022
@KaelWD KaelWD added the duplicate The issue has already been reported label Aug 8, 2022
@github-actions github-actions bot removed the S: triage label Aug 8, 2022
@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected C: VCombobox VCombobox and removed duplicate The issue has already been reported labels Aug 9, 2022
@KaelWD KaelWD added this to the v3.0.0-beta milestone Aug 9, 2022
@KaelWD KaelWD marked this as not a duplicate of #15151 Aug 9, 2022
@KaelWD KaelWD self-assigned this Aug 9, 2022
@KaelWD KaelWD reopened this Aug 9, 2022
@johnleider johnleider assigned johnleider and KaelWD and unassigned KaelWD and johnleider Aug 17, 2022
@KaelWD KaelWD assigned johnleider and unassigned KaelWD Oct 5, 2022
KaelWD added a commit that referenced this issue Oct 18, 2022
closes #15418

Co-authored-by: Kael <kaelwd@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VCombobox VCombobox T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

3 participants