Basically any autocomplete
Chrome 65, Ubuntu 16.04
Selecting an option from an autocomplete should just work
If nothing is typed into the box, selecting an item doesn't actually do anything.

Confirmed using repro link on Windows 10 with Firefox 59.0.2 and Chrome 65.0.3325.181.
@emman27, if you'd like to you can make the following additions to your description, for it to be slightly quicker to understand: ;)
MdAutocomplete with at least one entry in :md-options.Firefox 59.0.2 (Windows 10)
Chrome 65 (Ubuntu 16.04, Windows 10)
I found it sometimes doesn't work even after typing if using :md-open-on-focus="false". Typing one letter, clicking the remove button and then selecting works as long as the input field loses focus.
MdAutocomplete with at least one entry and the property :md-open-on-focus="false" Chrome 65 (Windows 10)
On the md-open event, add one char to the input model, then remove it.
<md-autocomplete v-model="name" v-on:md-opened="opened" :md-options="items">
opened:function() {
this.name += " ";
this.name = this.name.substring(0, this.name.length - 1)
}
Bit silly that even works.
It can be because of this https://github.com/vuematerial/vue-material/pull/1665
I tested it in DEV and it works. Closing issue for now.
I have the same issue. It doesn't select before I begin to type. If there's any input - then it selects. Just like on this GIF.
Is it possible to fix it? Where's the solution? Why is this closed?
@emman27 did you find the solution?
I just looked into source code, and looks like you messed with package. The content of MdMenuContent.vue is broken. They are different than on this GitHub. I tried to build vue-material but I can't Error: Cannot find module build/local
Too many bugs for such a good looking project. This is very unfortunate.
Never managed to find the solution to this one. Unfortunately I ended up not using this library for production as my projects were time sensitive.
@canyoudev @emman27 solution is solved in dev
@Samuell1 sorry for asking noob questions, but how to use dev branch as npm package? I should run npm i vue-material@dev?
Doesn't work here, see below.
@canyoudev You can specify a Git repo including a branch or commit hash as the version in the package.json. See the documentation.
So in this case you would specify something like
...
"vue-material": "vuematerial/vue-material#baf6a14030c1f57cc77e1751fba424ef11dfe0e6",
...
baf6a14030c1f57cc77e1751fba424ef11dfe0e6 is the latest commit. Specifying that instead of the dev branch (using "vuematerial/vue-material#dev") has the benefit that everyone will always npm install the same version. With dev, in the future someone might pull a version that is different from yours and debugging will be a nightmare ("It works on my machine.")
You can still update the commit hash whenever you want, so you can easily upgrade, but still have control.
@Y0hy0h you cant use dev branch directly from our repo because dist is not rebuilded.
Oh, ok. Makes sense. 馃槄
Most helpful comment
I found it sometimes doesn't work even after typing if using
:md-open-on-focus="false". Typing one letter, clicking the remove button and then selecting works as long as the input field loses focus.Steps to reproduce
MdAutocompletewith at least one entry and the property:md-open-on-focus="false"Which browser?
Chrome 65 (Windows 10)
Workaround
On the
md-openevent, add one char to the input model, then remove it.<md-autocomplete v-model="name" v-on:md-opened="opened" :md-options="items">Bit silly that even works.