Vue-material: [MdAutocomplete] Cant select option when using highlighting

Created on 15 May 2018  路  5Comments  路  Source: vuematerial/vue-material

Steps to reproduce

  1. Click on an autocomplete field to open the options
  2. Type in 'Aq' to filter down the results (and to be able to select an item, see #1740)
  3. Then try to select on an option with the mouse or keyboard. The option won't be selected, instead this error is thrown Error in render: "TypeError: this.searchTerm.toLowerCase is not a function"

Which browser?

Vue: v2.5.16 (latest)
Vue Material: 1.0.0-beta-10.2
OS: Windows 10
Browser: Chrome 66.0.3359.181

Reproduction Link

https://codesandbox.io/s/y3w5v3w34x?module=App.vue

duplicated

All 5 comments

Autocomplete is not support object yet, #1243

This code sample came right out of the docs. It is the example for "Custom Template". Perhaps it's better to remove it there if it isn't supported.

I'm sorry about that. I'll send another PR for MdAutocomplete via another way without breaking changes asap. Thanks for your feedback.

Hey, any updates?

Interested in updates too.

Was this page helpful?
0 / 5 - 0 ratings