No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Possible bug in current beta with q-input

    Framework
    2
    3
    1378
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      niklaszantner last edited by

      I did a rm -rdf node-modules && npm i && quasar dev today and found an interesting error.

      As soon as a q-input is 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 i and 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 dev then yields the already shown error.

      Some questions by me:

      1. Can someone else reproduce that (yesterday everything worked fine, that’s why I am unsure about if this is an actual bug)?
      2. Am I missing something obvious (I started with quasar two weeks ago and moved to v0.14 yesterday)?
      3. 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 🙂

      N 1 Reply Last reply Reply Quote 0
      • N
        n.taddei @niklaszantner last edited by

        @niklaszantner As I wrote on Gitter, you need to rollback Vue package version to 2.3.4, because the new Vue version 2.4.1 breaks Quasar. Everything works fine if you put Vue at previous version.

        PS: you need to rollback vue-template-compiler package too (same version).

        N 1 Reply Last reply Reply Quote 2
        • N
          niklaszantner @n.taddei last edited by

          @n.taddei thank you very much!

          1 Reply Last reply Reply Quote 1
          • First post
            Last post