Possible bug in current beta with q-input
I did a
rm -rdf node-modules && npm i && quasar devtoday and found an interesting error.
As soon as a
q-inputis rendered, following error occurs:
[Vue warn]: Injection "__field" not found found in ---> <QInputFrame> <QInput> <QLayout> <Index> at [DEV_DIR]/beta/src/components/Hello.vue <App> at [DEV_DIR]/beta/src/App.vue <Root>
You can repdocue this by running
quasar init default#beta beta-dir && cd beta-dir && npm iand adding a
<q-input v-model="text" />to
src/components/Hello.vue(and of course import the component and adding it to the components object in the vue instance). Running
quasar devthen yields the already shown error.
Some questions by me:
- Can someone else reproduce that (yesterday everything worked fine, that’s why I am unsure about if this is an actual bug)?
- Am I missing something obvious (I started with quasar two weeks ago and moved to v0.14 yesterday)?
- If this is a bug, do I report it in the default https://github.com/quasarframework/quasar repo or is there something to consider / special when reporting beta bugs?
Thanks for your help and nice to be part of the community :)
@niklaszantner As I wrote on Gitter, you need to rollback Vue package version to
2.3.4, because the new Vue version
2.4.1breaks Quasar. Everything works fine if you put Vue at previous version.
PS: you need to rollback
vue-template-compilerpackage too (same version).
@n.taddei thank you very much!