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. bambinou
    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 17
    • Posts 43
    • Best 1
    • Groups 0

    bambinou

    @bambinou

    1
    Reputation
    28
    Profile views
    43
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    bambinou Follow

    Best posts made by bambinou

    • RE: How to create global functions in quasar v1?

      The whole export / import thing is not something I learned years ago in javascript(8 to 10 years ago). Getting used to it now.
      I love Quasar, this is my second app built with it.
      What I like about Quasar is how it is organized, especially with Vuex and how you can easily build an app that works on Cordova or an HTTP server.
      I am not really a big fan of pure javascript, to be honest, but I like to use Vue.js and the way things are shortened(when used with lodash). A lot of things are happening behind the hood which I believe would be difficult to built-in pure JS. I just stick to CRUDs and Restful APIs, that’s good enough for me to build what I need to build.

      posted in Help
      B
      bambinou

    Latest posts made by bambinou

    • RE: How to add opacity to the drawer background please?

      Thank you so much, this looks really nice. I will check it further in the next couple of days as I am away at the moment.
      But this is exactly what I am looking for.

      Thanks again!

      posted in Framework
      B
      bambinou
    • How to add opacity to the drawer background please?

      Hello,

      Anyone knows a good trick for adding opacity to the drawer? Each time I try all the buttons become also transparent.

      .q-drawer__backdrop {
          z-index: 999 !important;
          will-change: background-color;
      }
      

      Thanks.

      posted in Framework
      B
      bambinou
    • RE: How to generate all the icons for Android and IOS please?

      Thanks, I did not know about this. I will give it a shot. Thank you so much for your help!!!

      posted in Help
      B
      bambinou
    • How to generate all the icons for Android and IOS please?

      Hello,

      Could someone please give me on how to generate all the icons for the cordova and IOS apps through Quasar please?

      Thank you,

      Regards,

      posted in Help
      B
      bambinou
    • Strange date format issue

      Hello,

      No idea if this is a bug in Quasar but I am having a problem with the date reformat.

      I have this from the input mask: DD-MM-YYYY HH🇲🇲ss which gives me:

      11-09-2019 00:00:00
      

      This is how I need to show the date in the input fields to my customers.

      But, for my calculations to work, I need to reformat the date to:

      YYYY-MM-DD HH:mm:ss
      

      I tried:

      date.formatDate(initialDate, 'YYYY-MM-DD HH:mm:ss');
      

      It looks like it works until you set the calendar to a day higher than 12, it gives “NaN”. Meaning that you think the middle number is MONTHS when in fact it is in days. The above conversion does not work at all.

      Any idea how to reconvert properly the date using Quasar from DD-MM-YYYY HH🇲🇲ss to YYYY-MM-DD HH🇲🇲ss

      Thank you.

      posted in Help
      B
      bambinou
    • Having problems with dates

      Hello,

      I am using Quasar V1.
      I have been having a few problems with dates and would like to know if anyone has experienced the same issue before.

      Based on the import { date } from 'quasar';
      

      I should be able to do this:

      <q-date v-model="date" mask="DD-MM-YYYYTHH:mm:ss.SSSZ"/>
      

      OR

      let timeStamp = date.formatDate(Date.now(), 'DD-MM-YYYYTHH:mm:ss.SSSZ'); // This is for the user visual
      

      Which should give me a date with a time.

      My hope was to then have this time converted to Unix with:

      let unixDate = parseInt(date.formatDate(timeStamp, 'X')); // This is for my actions calculations.
      

      My first problem is that the UNIX time when reconverted back with an online Unix convertor, it gives me a totally different date/month than the initial date.

      My second issue is that after I reconvert this time to Unix, I would like to have a 24 hours span from that time(backward).

      Ie: if right now we are the 4th of sept 2019 time 20:00
      I would like to have
      have the 3rd of sept 2019 time 20:00

      Any idea why I am having the above issues please?

      Thank you.

      posted in Help
      B
      bambinou
    • RE: How to create global functions in quasar v1?

      The whole export / import thing is not something I learned years ago in javascript(8 to 10 years ago). Getting used to it now.
      I love Quasar, this is my second app built with it.
      What I like about Quasar is how it is organized, especially with Vuex and how you can easily build an app that works on Cordova or an HTTP server.
      I am not really a big fan of pure javascript, to be honest, but I like to use Vue.js and the way things are shortened(when used with lodash). A lot of things are happening behind the hood which I believe would be difficult to built-in pure JS. I just stick to CRUDs and Restful APIs, that’s good enough for me to build what I need to build.

      posted in Help
      B
      bambinou
    • RE: How to create global functions in quasar v1?

      I from the PHP world, still trying to get into JS. Thanks for this.

      posted in Help
      B
      bambinou
    • RE: How to create global functions in quasar v1?

      Ok My bad, another mistake…the export had to be like this:

      from
      export default myFunction;
      
      to
      export default myFunction();
      
      posted in Help
      B
      bambinou
    • RE: How to create global functions in quasar v1?

      Still, I was expecting to see my function return when doing this:

      {{ myFunction }}
      
      data () {
          return {
            myFunction: ''
      }
      },
      
        mounted () {
          this.myFunction = this.$myFunction;
        },
      

      But all I see is the output of what is written inside the function as a string and not the return calculations, any idea why please? I am lost on this one.

      posted in Help
      B
      bambinou