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. aswinkp
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 11
    • Best 0
    • Groups 0

    Posts made by aswinkp

    • Getting error when starting with quasar for first time

      I just updated quasar-cli, and ran the three commands as mentioned in getting started section.

      quasar init default app_name
      cd app_name
      npm install
      quasar dev
      

      localhost:8080 opens, but unfortunately, it says Cannot GET /

      and console reads

      error  in ./src/App.vue
      Syntax Error: Unexpected token {
      @ ./src/main.js 23:15-31
      @ multi ./build/hot-reload.js ./src/main.js
      

      I neither opened the editor nor edited any file. So this should be an issue from starter kit. Is this issue only for me ?

      vue 2.3.4
      quasar-framework 0.14.4

      posted in Starter Kits
      A
      aswinkp
    • RE: Set default end date in datetime range field

      Great. Thanks.

      posted in Framework
      A
      aswinkp
    • RE: Set default end date in datetime range field

      Thank you.

      posted in Framework
      A
      aswinkp
    • RE: Set default end date in datetime range field

      @administrators @Global-Moderators I am still struggling to find solution to this issue. Please help.

      posted in Framework
      A
      aswinkp
    • RE: Set default end date in datetime range field

      @rstoenescu Thanks for taking time to test it again for me. I know that I can implement it using v-model.
      In my case, datetime-range field is an optional field and I want the eod to be set only when the popover is shown. And when shown, the default from time should be current time and to time should be end of day. I see default-selection prop in the documentation but it wasn’t explained anywhere how to use that for date-range field. I implemented it by
      <q-datetime-range class="full-width" type="datetime" v-model="range" @input="$v.new_reservation.range.from.$touch()" default-selection="eod"> </q-datetime-range>

      I implemented this way and the above mentioned error comes when I open the popover to pick datetime.

      posted in Framework
      A
      aswinkp
    • RE: Set default end date in datetime range field

      @administrators Please take a look. is this a bug or I am implementing in a wrong way ?

      posted in Framework
      A
      aswinkp
    • Set default end date in datetime range field

      I need to set the default-selection value for datetime range field. Right now when I add it I get errors. How do I do it. I did not find any proper docs for that field.
      I tried

      eod: {
              from: moment().format(),
              to: moment().endOf('day').format(),
            },
      
      eod: {
              from: moment(),
              to: moment().endOf('day')
            },
      
      eod: moment().endOf('day')
      

      But none of the above works. The error I get is

      Error in render function: (found in <QInlineDatetime>)

      RangeError: Invalid array length at Proxy.renderList (eval at <anonymous> (app.js:833), <anonymous>:3309:11) at Proxy.render (eval at <anonymous> (app.js:814), <anonymous>:3965:112) at VueComponent.Vue._render (eval at <anonymous> (app.js:833), <anonymous>:3530:22) at VueComponent.updateComponent (eval at <anonymous> (app.js:833), <anonymous>:2107:22) at Watcher.get (eval at <anonymous> (app.js:833), <anonymous>:2426:25) at Watcher.run (eval at <anonymous> (app.js:833), <anonymous>:2496:22) at flushSchedulerQueue (eval at <anonymous> (app.js:833), <anonymous>:2290:13) at Array.eval (eval at <anonymous> (app.js:833), <anonymous>:460:20) at nextTickHandler (eval at <anonymous> (app.js:833), <anonymous>:409:16) handleError @ vue.runtime.esm.js?a427:1449 Vue._render @ vue.runtime.esm.js?a427:3532 updateComponent @ vue.runtime.esm.js?a427:2107 get @ vue.runtime.esm.js?a427:2426 run @ vue.runtime.esm.js?a427:2496 flushSchedulerQueue @ vue.runtime.esm.js?a427:2290 (anonymous) @ vue.runtime.esm.js?a427:460 nextTickHandler @ vue.runtime.esm.js?a427:409

      posted in Framework
      A
      aswinkp
    • Scroll bar is not in edge for all Layout Modal

      I had tough time in bringing up the scrollbar to the right place. So I just checked Quasar Play app and found it was a bug in the framework UI. Is there anyway that we could avoid that ?

      0_1491845906463_Screenshot_20170410-225657.png

      posted in Framework
      A
      aswinkp
    • RE: q-drawer-linux question

      @aswinkp said in q-drawer-linux question:

      we cant even use “v-go-back” in <q-drawer-link> because :to is a required prop. It would be better if we have these props optional.

      I think it is a must have because, logout will be mostly in the drawer. This forces to use list instead.

      posted in Help
      A
      aswinkp
    • RE: q-drawer-linux question

      we cant even use “v-go-back” in <q-drawer-link> because :to is a required prop. It would be better if we have these props optional.

      posted in Help
      A
      aswinkp