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. snowdrop
    3. Topics
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 27
    • Posts 79
    • Best 14
    • Groups 0

    Topics created by snowdrop

    • S

      Dialog Plugin with Promise
      Help • • snowdrop

      4
      1
      Votes
      4
      Posts
      590
      Views

      J

      One thing that can help is to create global Vue mixin in boot file.
      https://quasar.dev/quasar-cli/cli-documentation/boot-files

      export default async ({ Vue }) => { // Inject quasar extension into the vue Vue.mixin({ methods: { dialog (options) { return new Promise((resolve, reject) => { this.$q.dialog(options).onOk(() => { resolve() }).onCancel(() => { reject() }) }) } } }) }

      This way, in any component you have dialog method available that is a promise. you can async-await for. I think you have to tune it to suit your need but it can be a good start.

    • S

      cordova-local-notification "Mark as read" function
      Help • • snowdrop

      1
      1
      Votes
      1
      Posts
      91
      Views

      No one has replied

    • S

      QInput cursor automatically goes on the first char of the previous word
      Help • • snowdrop

      2
      1
      Votes
      2
      Posts
      74
      Views

      A

      i present the same problem try to disable the autocomplete = “off” it doesn’t work in the v-input help please

    • S

      [Solved] Specify QChip separator in QSelect
      Help • • snowdrop

      5
      0
      Votes
      5
      Posts
      117
      Views

      S

      @metalsadman I found the bug now. An obscure function in my logic is causing the issue. Thanks again for your time 😉

    • S

      [Solved] QSelect Not Displaying Correctly when the v-model is Set Programmatically
      Framework • • snowdrop

      9
      0
      Votes
      9
      Posts
      1073
      Views

      S

      Finally found the issue. Seems that I need to put the following code in both created and activated life cycle hook:

      this.categoryId = this.$route.query.categoryId

      I don’t know the reason behind but it’s now working.

    • S

      Firebase Messaging Integration
      Help • • snowdrop

      4
      2
      Votes
      4
      Posts
      338
      Views

      L

      https://discordapp.com/channels/415874313728688138/596275834352959499/601418222482227249

    • S

      [Solved] Intercept/Listen on Back Button Click of Browser/Phone
      Help • • snowdrop

      5
      0
      Votes
      5
      Posts
      780
      Views

      metalsadman

      i put a Router.beforeEach in the router/index.js, to perform checks/validations etc…

    • S

      QPopupEdit occupying QDataTable space
      Help • • snowdrop

      1
      0
      Votes
      1
      Posts
      179
      Views

      No one has replied

    • S

      [Solved] Cordova App Displays Blank Page
      Help • • snowdrop

      5
      0
      Votes
      5
      Posts
      1104
      Views

      A

      Thanks for the reply.
      My aim was not to imply whos issue is that but to see if someone had same experience and how it was solved.

      I did some more digging and ran into a cordova-plugin-crosswalk-webview-v3
      But the drawback is tha it adds about 17MB to the apk which is too much.

      So if someone had this kind of problem and has solved it some other way it would be helpful

    • S

      [Solved] Way to Remove q-table-container class in QTable
      Help • • snowdrop

      2
      0
      Votes
      2
      Posts
      1090
      Views

      S

      Solved. What I’ve done is to set the box-shadow to none by declaring it on my .vue file like this:

      <style scoped> .q-table-container { box-shadow: none; } </style>
    • S

      [Feature Request] Addition of Input Mask Component in Quasar
      Framework • • snowdrop

      1
      0
      Votes
      1
      Posts
      563
      Views

      No one has replied

    • S

      [Solved] v0.15 Scrollbar Appears Even if the Window Does Not Overflow
      Help • • snowdrop

      9
      0
      Votes
      9
      Posts
      2286
      Views

      S

      I can confirm a similar fix to snowdrop’s. I get a vertical scrollbar when using a html table that only overlaps horizontally within a q-page. I think this is something to do with Quasar’s implementation of 100vh and scrollbar heights, and I’ve only seen it happen when using tables.

      Problem is solved if I wrap my tables in overflow divs:

      <div style="position: relative; overflow: auto; max-width: 100%; "> <table>// Table Content</table> </div>

      By the way I tried all kinds of solutions by altering the q-layouts and q-pages styles but I ran into trouble with transitions and other things. Best off not messing with the quasar layout elements too much.

    • S

      [Resolved] v0.15.4 QFabAction Prevent Closing of QFab When Clicked
      Help • • snowdrop

      3
      0
      Votes
      3
      Posts
      726
      Views

      H

      Can still hide the fab like this

      <q-fab
      ref=“fab”
      flat
      direction=“down”
      icon=“more_vert”
      text-color=“white”
      class=“fixed gt-sm mapv4-navmenuDesktop z-top”
      v-model=“showFab”
      @hide=“preventFabHide”>
      <q-fab-action color=“secondary” icon=“search”/>
      </q-fab>

      preventFabHide (ev:any) {
      if(ev){
      this.showFab = !this.showFab;
      }
      else{
      this.$refs.fab.show() // OR BELOW for ts
      (this.$refs.fab as Vue & { show: () => boolean }).show()
      }
      }

    • S

      QBtnToggle Display Not Consistent In Mozilla Firefox vs Google Chrome
      Help • • snowdrop

      1
      1
      Votes
      1
      Posts
      507
      Views

      No one has replied

    • S

      [Solved] v0.15 QTable Specify Width of a Column In A Table for Long Texts With Word Wrap
      Help • • snowdrop

      9
      0
      Votes
      9
      Posts
      5744
      Views

      S

      @hipernova Sorry for my late reply. Seems that notifications does not work anymore when someone replies on my previous posts.

      Anyway, I did not customize any code in my QTable, I just added the code above between <q-table> and </q-table> tags.

      You can change the width, in my example 400px, and specifying the slot in the slot directive by adding body-cell- to your column name. In my case, my column name is address so the slot name became body-cell-address.

    • S

      [Solved] v0.15 QTable Custom Cell Not Working
      Help • • snowdrop

      5
      0
      Votes
      5
      Posts
      1850
      Views

      S

      @carueda You’re welcome. I was about to ask this on Discord but decided to put it up here so that anyone with the same problem could still look it up. 🙂

    • S

      v0.15 Animation for enter and leave of Notify Plugin
      Help • • snowdrop

      3
      0
      Votes
      3
      Posts
      609
      Views

      S

      @rstoenescu thanks