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] (v-autocomplete) not able to select an item that is a null value or an empty string #4431

Closed
DRoet opened this issue Jun 30, 2018 · 1 comment · Fixed by #4649
Assignees
Labels
S: has PR The issue has a pending Pull Request T: regression Something that used to work but we broke
Milestone

Comments

@DRoet
Copy link
Contributor

DRoet commented Jun 30, 2018

Versions and Environment

Vuetify: 1.1.0
Vue: 2.5.16
Browsers: Chrome 67.0.3396.99
OS: Windows

Steps to reproduce

Click on the first item of the autocomplete element in the codepen

Expected Behavior

The first element gets (visually) selected

Actual Behavior

The element doesn't (visually) get selected and looks like an empty state

Reproduction Link

https://codepen.io/anon/pen/MXLKwO

Other comments

note: the v-model value actually does change correctly

@KaelWD KaelWD added the T: regression Something that used to work but we broke label Jun 30, 2018
@KaelWD KaelWD added this to the v1.1.x milestone Jun 30, 2018
@DRoet
Copy link
Contributor Author

DRoet commented Jul 4, 2018

This also happens in V-Select on inital render when v-model is already set to null (empty string '' does work however)
Selecting the item after render however does work

codepen:
https://codepen.io/anon/pen/QxPYyv

@KaelWD KaelWD self-assigned this Jul 15, 2018
KaelWD added a commit that referenced this issue Jul 18, 2018
@KaelWD KaelWD added S: has PR The issue has a pending Pull Request and removed S: in progress labels Jul 18, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
S: has PR The issue has a pending Pull Request T: regression Something that used to work but we broke
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants