Skip to content
This repository has been archived by the owner on May 25, 2019. It is now read-only.

An issue with Autocomplete and q-chips-input #69

Open
AlexDuc opened this issue Nov 5, 2018 · 0 comments
Open

An issue with Autocomplete and q-chips-input #69

AlexDuc opened this issue Nov 5, 2018 · 0 comments

Comments

@AlexDuc
Copy link

AlexDuc commented Nov 5, 2018

<q-chips-input v-model="theItem" :disable="disabled=='yes'" :placeholder="phText"> <q-autocomplete :debounce="250" :static-data="{field: 'text', list: searchOptions}" @selected="selected"/> </q-chips-input>

It works if i type and use mouse to choose but whenever i navigate with keyboard arrow keys, it gives me those errors. Also, using enter key to choose is not working. Please help me out. I'm using the latest version of quasar which is 0.17.20

vue.runtime.esm.js?2b0e:587 [Vue warn]: Error in render: "TypeError: Cannot read property 'length' of undefined"

found in

--->
at src/components/forms/SelectSearchable.vue
at src/components/forms/SubCategory.vue
at src/components/forms/FormSection.vue

at src/components/forms/Form.vue
at src/App.vue

warn @ vue.runtime.esm.js?2b0e:587
logError @ vue.runtime.esm.js?2b0e:1733
globalHandleError @ vue.runtime.esm.js?2b0e:1728
handleError @ vue.runtime.esm.js?2b0e:1717
Vue._render @ vue.runtime.esm.js?2b0e:4542
updateComponent @ vue.runtime.esm.js?2b0e:2784
get @ vue.runtime.esm.js?2b0e:3138
run @ vue.runtime.esm.js?2b0e:3215
flushSchedulerQueue @ vue.runtime.esm.js?2b0e:2977
(anonymous) @ vue.runtime.esm.js?2b0e:1833
flushCallbacks @ vue.runtime.esm.js?2b0e:1754
Promise.then (async)
microTimerFunc @ vue.runtime.esm.js?2b0e:1802
nextTick @ vue.runtime.esm.js?2b0e:1846
queueWatcher @ vue.runtime.esm.js?2b0e:3064
update @ vue.runtime.esm.js?2b0e:3205
notify @ vue.runtime.esm.js?2b0e:693
reactiveSetter @ vue.runtime.esm.js?2b0e:1010
proxySetter @ vue.runtime.esm.js?2b0e:3296
__keyboardMoveCursor @ keyboard-selection.js?2878:83
__keyboardHandleKey @ keyboard-selection.js?2878:47

vue.runtime.esm.js?2b0e:1737 TypeError: Cannot read property 'length' of undefined
at Proxy.render (QChipsInput.js?48b7:228)
at VueComponent.Vue._render (vue.runtime.esm.js?2b0e:4540)
at VueComponent.updateComponent (vue.runtime.esm.js?2b0e:2784)
at Watcher.get (vue.runtime.esm.js?2b0e:3138)
at Watcher.run (vue.runtime.esm.js?2b0e:3215)
at flushSchedulerQueue (vue.runtime.esm.js?2b0e:2977)
at Array.eval (vue.runtime.esm.js?2b0e:1833)
at flushCallbacks (vue.runtime.esm.js?2b0e:1754)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant