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
    1. Home
    2. cklinx
    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 23
    • Best 3
    • Groups 0

    cklinx

    @cklinx

    3
    Reputation
    453
    Profile views
    23
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    cklinx Follow

    Best posts made by cklinx

    • RE: [Solved]Android doesnt adapt the screen with keyboard opened

      You are right. I solved removing a statusbar Cordova plugin.

      Thanks!

      posted in Help
      C
      cklinx
    • RE: [Solved] Failed to compile with 1 errors

      Solved:
      needed to upgrade nodejs:

      https://github.com/vuejs-templates/webpack-simple/issues/88
      http://www.hostingadvice.com/how-to/update-node-js-latest-version/

      Hope can help.

      posted in Starter Kits
      C
      cklinx
    • RE: [Solved]How wrap cordova in the new quasar 0.15

      Thanks man,
      i solved with

      quasar build -m cordova -T android
      

      really appreciated your help.

      posted in Starter Kits
      C
      cklinx

    Latest posts made by cklinx

    • RE: Update quasar 0.15 without reinstall

      Thanks guys!

      posted in Help
      C
      cklinx
    • RE: Update quasar 0.15 without reinstall

      oh, maybe i didn’t explain it as good as i want: i have quasar 0.15 already installated with all my projects. I just asking if is possible update it (considering that are developing it right now) so i can have it updated every day 🙂

      posted in Help
      C
      cklinx
    • Update quasar 0.15 without reinstall

      Hi,
      i’m wondering about update quasar 0.15 without reinstall everything.

      Thanks in advance.

      posted in Help
      C
      cklinx
    • RE: [Solved]Impossible set global variable on quasar 0.15

      Thanks for your help guys! Solved with vuex.

      posted in Help
      C
      cklinx
    • RE: [Solved]Impossible set global variable on quasar 0.15

      Ok, same problem with a fresh installation. Do you have the same problem? I will let my code so you can reproduce it:
      just change pages/index.vue code with

      <template>
        <q-page class="flex flex-center">
          <q-toggle
            v-model="$optionsObject.FlagCardsHeader"
            @click.native="ChangeHeaderCardsStatus($optionsObject.FlagCardsHeader)"
          />
        </q-page>
      </template>
      
      <script>
      import {
        QToggle
      } from 'quasar'
      
      export default {
        name: 'PageIndex',
        components: {
          QToggle
        },
        methods: {
          ChangeHeaderCardsStatus (asd) {
            console.log(asd)
          }
        }
      }
      </script>
      

      and this is a plug-in

      // import something here
      
      // leave the export, even if you don't use it
      export default ({ Vue }) => {
        Vue.prototype.$optionsObject = {
            FlagCardsHeader: false,
        }
      }
      
      posted in Help
      C
      cklinx
    • RE: [Solved]Impossible set global variable on quasar 0.15

      @leopiccionia said in Impossible set global variable on quasar 0.15:

      Silly question, but are you sure that the function is being called? Have you tried substituting @click by @click.native?

      Ok i tried with @click.native and finally i can execute the function (i can see the console.log()), with just @click the function is not execute. Anyway i think is the toggle object that change the this.$optionsObject.FlagCardsHeader value in fact its change also without the @click method (just clicking on the toggle).

      @benoitranque said in Impossible set global variable on quasar 0.15:

      Try console.log() instead of {{variable}}. Like I said, it probably is not reactive, meaning even if variable value changes, it will not be detected by Vue. Anyways this is a Vue issue and not a Quasar issue.

      It is like you say, vue not refresh the variable.

      Gonna to try a fresh installation and see if i will have the same result.

      posted in Help
      C
      cklinx
    • RE: navigator.app.exitApp(); is not working in cordova app (Android, Vue, Quasar Framework)

      I’m pretty sure you dont need “deviceready” with quasar. In fact quasar wait for the device ready automaticatly.
      Anyway look at this maybe you need install <plugin name="cordova-plugin-whitelist" source="npm" spec="1.1.0" />.

      posted in Help
      C
      cklinx
    • RE: [Solved]Impossible set global variable on quasar 0.15

      Thanks for you help leo,
      to see the correct variable’s value is enough change component. Is like quasar doesn’t refresh the variable in the current component. So I think is a refresh problem. With quasar 0.14.8 I used this.$root.variable and it worked perfectly.

      posted in Help
      C
      cklinx
    • RE: [Solved]Impossible set global variable on quasar 0.15

      I just discovered that the variable change but quasar doesn’t refresh it. In fact if i go to another component and back to the first one the variable’s value is true (i see the header active in my app also).

      So actually i dont have any idea how solve the problem.

      posted in Help
      C
      cklinx
    • RE: [Solved]Impossible set global variable on quasar 0.15

      I just put it on my component’s layout:

      {{$optionsObjectFlagCardsHeader}}
      

      this is the toggle the active the method:

      <q-toggle
            v-model="$optionsObject.FlagCardsHeader"
            @click="ChangeHeaderCardsStatus()"
      />
      

      and this is the function:

      ChangeHeaderCardsStatus () {
            this.$optionsObject.FlagCardsHeader = true
          }
      

      anyway i’m gonna to check out vuex, but i think is too much for 4 global variables ^^

      posted in Help
      C
      cklinx