Navigation

    Quasar Framework

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

    QCalendar suggestion

    Framework
    9
    40
    825
    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.
    • J
      julczka @Hawkeye64 last edited by

      @Hawkeye64 I’m really sorry to bother you, but I stumbled on another problem - despite adding listeners for @click:day2, week, interval etc to q-calendar component the only event that seems to work is @click:date. I cant see any of the events in the vue dev tools.

       <q-calendar
              @click:day2="hopsa"
              @click:interval2="hopsa"
              @click:time2="hopsa"
              @click:week2="hopsa"
              @click:date="hopsa" //only this one works
            ></q-calendar>
      
      1 Reply Last reply Reply Quote 0
      • Hawkeye64
        Hawkeye64 last edited by

        @julczka You didn’t give your QCalenda a view (in code above). The actual QCalenda is a component wrapper. Itself does have @click:date and @click:date2, but the other ones come from the specific component being wrapped.

        Also, to avoid overhead, the events are not fired unless there is a listener for it.

        Here is a Codepen where you can try out the new events: https://codepen.io/Hawkeye64/pen/eYzJPEW

        1 Reply Last reply Reply Quote 0
        • F
          flba last edited by

          Hi @Hawkeye64 , i have a question too:
          is it posible to select a time interval using holding click?

          Ex: outlook calendar
          0dfb73aa-6eaf-402a-bfdd-19612edec9f3-image.png

          1 Reply Last reply Reply Quote 0
          • Hawkeye64
            Hawkeye64 last edited by

            @flba I answered (today) on Discord, but yes, this sounds like a good idea. Did you add a Github issue on the repo?

            F 1 Reply Last reply Reply Quote 0
            • F
              flba @Hawkeye64 last edited by

              @Hawkeye64 yes, I did, thanks 👍🏻

              1 Reply Last reply Reply Quote 0
              • Hawkeye64
                Hawkeye64 last edited by

                @flba And, it’s been added and released. Enjoy! ❤

                1 Reply Last reply Reply Quote 0
                • VB
                  VB last edited by

                  Hello! As a newbie I am trying out QCalendar for the first time and am currently struggling with the number of calendar weeks dispalyed in the calendar. I am asked to ALWAYS display 6 calendar weeks but the calendar automatically switches from 4 to 5 to 6 weeks when I navigate through the months of a year.
                  Many thanks for your help in advance!

                  1 Reply Last reply Reply Quote 0
                  • Hawkeye64
                    Hawkeye64 last edited by Hawkeye64

                    @VB Yes, that’s a bug I just found today (property min-weeks is ignored – and no one told me about it for over 2 years! lol). And, I just published a new release and forgot to add it in (the fix is easy). If you can wait one more day, I’ll add it in tomorrow.

                    1 Reply Last reply Reply Quote 0
                    • Hawkeye64
                      Hawkeye64 last edited by

                      @VB v3.3.4 is released with min-weeks fix.
                      https://github.com/quasarframework/quasar-ui-qcalendar/releases/tag/v3.3.4
                      https://quasarframework.github.io/quasar-ui-qcalendar/examples/month-view-mini-mode#example-Multi-Month-Selection-(range)

                      1 Reply Last reply Reply Quote 0
                      • VB
                        VB last edited by

                        @Hawkeye64 Thanks for the lightning fast bug fix. Checked it out and it works!

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