Open
Description
Steps to reproduce
- Visit https://vuematerial.io/components/autocomplete/.
- Scroll to Custom Template example.
- Click the input field and select any color from the drop down.
What is expected?
Selected Color: shows the selected color.
What is actually happening?
- Drop down disappears.
- Input field becomes empty.
- Clicking the field again doesn't show drop down anymore.
- Errors in browser console:
app.15aee5a6.js:6 TypeError: this.searchTerm.toLowerCase is not a function
at d.matchText (app.15aee5a6.js:6)
at d.o [as matchText] (app.15aee5a6.js:6)
at app.15aee5a6.js:6
at Array.filter (<anonymous>)
at d.filterByObject (app.15aee5a6.js:6)
at d.o [as filterByObject] (app.15aee5a6.js:6)
at d.filteredStaticOptions (app.15aee5a6.js:6)
at Js.get (app.15aee5a6.js:6)
at Js.evaluate (app.15aee5a6.js:6)
at d.filteredStaticOptions (app.15aee5a6.js:6)