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

    Set color/event for dates and multi selection/range selection on DatePicker/Calendar component

    Help
    2
    10
    4346
    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.
    • H
      hata last edited by

      I want to set colors/bg-color/events for dates when initialize the calendar (ex: 1-1-2017 is red, 21-1-2017 is blue) and multi selection or range selection dates on DatePicker/Calendar. Could you please guide me how to config or implement them ??

      1 Reply Last reply Reply Quote -1
      • rstoenescu
        rstoenescu Admin last edited by

        What I suggest is adding a special CSS class (that you write on your app) on the calendar binded on a computed value that takes into account calendar’s model. Let me know if you need further details although I think this should be easy.

        1 Reply Last reply Reply Quote 0
        • H
          hata last edited by

          Hi @rstoenescu
          I need 1 date picker to select date range as from -> to or multi select. It is similar with this link http://tamble.github.io/jquery-ui-daterangepicker/
          How to customize the date picker to select date range or multi select ? I found the external component have multi select but it is missing date range select https://github.com/hilongjw/vue-datepicker.

          1 Reply Last reply Reply Quote 0
          • rstoenescu
            rstoenescu Admin last edited by

            http://quasar-framework.org/components/datetime-range.html

            1 Reply Last reply Reply Quote 0
            • H
              hata last edited by

              It is 2 date picker for 2 input, I just want 1 calendar with date range selection for 2 readable input 🙂

              1 Reply Last reply Reply Quote 0
              • rstoenescu
                rstoenescu Admin last edited by

                You mean two inputs and when clicked either one to display one calendar on a popover with a possible range selection? If that is the case this is not available, and also very hard to make such a solution responsive…

                1 Reply Last reply Reply Quote 0
                • H
                  hata last edited by hata

                  @rstoenescu
                  I just need a icon, click event to display inline date picker as the calendar and I can select range date to binding with the model, then I display the rang date as label with date format

                  1 Reply Last reply Reply Quote 0
                  • rstoenescu
                    rstoenescu Admin last edited by

                    @hata Sorry, I’m not following you. Can you explain again, please?

                    1 Reply Last reply Reply Quote 0
                    • H
                      hata last edited by

                      @rstoenescu
                      I just need a inline calendar that can select range date to binding with the model 🙂

                      1 Reply Last reply Reply Quote 0
                      • rstoenescu
                        rstoenescu Admin last edited by

                        Check range example (last on this exact page): http://quasar-framework.org/quasar-play/android/index.html#/showcase/form/datetime/inline
                        And source https://github.com/quasarframework/quasar-play/blob/master/src/components/showcase/form/datetime/inline.vue

                        This is available on the documentation website.

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