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

    QDate API does not have set button

    Framework
    3
    6
    277
    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.
    • S
      saro199 last edited by

      Hello I am using version 1.00 beta 16 and I don’t see a provision to set (button) a date with new API, it used to be there on versions less than 1. Any help on this really appreciated

      1 Reply Last reply Reply Quote 0
      • R
        rconstantine last edited by

        Do you mean you want a button to open the calendar? You want to look at the With QInput example on the QDate page. You should be able to substitute a button for the QInput, I think. Let us know if that works. I’m just using QInput as shown since I do want the users to manually type if they want to.

        S 1 Reply Last reply Reply Quote 0
        • S
          saro199 @rconstantine last edited by

          @rconstantine I should have been a little more detail on the question. Sorry. I have an input box which has calendar image, upon clicking on the calendar the date window popsup.
          I have an option to set today-btn to true, but if the user selects a date from the calendar and I don’t see a way for the user to set the selected date from the calendar.
          They have to move the cursor away from the calendar and select so that the calendar disappers. By default the versions less than 1 has set and cancel buttons.

          1 Reply Last reply Reply Quote 0
          • R
            rconstantine last edited by

            Ah, yeah. There’s a discussion in another thread here about that. I miss the buttons too. I believe since we use the popup thing, we can use a QCard to wrap the calendar and put buttons on the bottom. I might do that.

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

              You should check out https://github.com/TobyMosque/app-extension-qdatetimepicker since you are running v1.
              Demo here: https://qdatetimepicker.netlify.com/#/

              S 1 Reply Last reply Reply Quote 1
              • S
                saro199 @Hawkeye64 last edited by

                @Hawkeye64 Thank you so much, the extension worked great.

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