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

    v0.15.1 Prevent Prompting of Time when Selecting Just a Date in QDatetime Component

    Help
    5
    17
    2516
    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
      snowdrop last edited by snowdrop

      Good day. Is there a way to prevent v0.15.1 QDateTime from displaying the time selection after clicking a date? It’s kind of annoying sometimes when I just want to click on the date but would still require me to change the time. v0.14.9 works this way and will only display the time selection when the time is clicked.

      1 Reply Last reply Reply Quote 0
      • L
        leopiccionia last edited by

        Yes, use type="date".

        1 Reply Last reply Reply Quote 0
        • S
          snowdrop last edited by

          @leopiccionia Nope, that’s not it. 🙂

          The thing is, I have a QDateTime component. On v0.14.9 when you select a date, it does select a date without prompting to select a time. So if you also want to change the time, you’ll click the time on the left part of the component.

          But now on v0.15.1 using QDateTime component when you select a date, it will prompt you to select a time.

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

            Same with me, may be this bug on v0.15, I hope master Razvan can fix it immediately 🙂

            1 Reply Last reply Reply Quote 0
            • S
              snowdrop last edited by

              Guess I will resort on using a separate datepicker and another timepicker for now. Thanks.

              1 Reply Last reply Reply Quote 0
              • M
                Max last edited by

                @cheebhodh please open an issue https://github.com/quasarframework/quasar

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

                  Could any of you please provide a jsfidle example of your issue? Thanks!

                  S 1 Reply Last reply Reply Quote 0
                  • L
                    leopiccionia last edited by leopiccionia

                    Now that I understand the problem: it’s probably intended, but the type="datetime" behavior has indeed changed.

                    I’d suggest to file an issue to either revert to previous behavior or make it optional via prop.

                    1 Reply Last reply Reply Quote 0
                    • S
                      snowdrop @benoitranque last edited by

                      @benoitranque The example in the docs should suffice. But if you need another example, I’ll provide a jsfiddle for it. Thanks

                      1 Reply Last reply Reply Quote 0
                      • S
                        snowdrop last edited by

                        @Max Seems that @cheebhodh is still offline. I’ll open an issue in github in place of him.

                        1 Reply Last reply Reply Quote 1
                        • cheebhodh
                          cheebhodh last edited by

                          https://jsfiddle.net/ktp5ao5m/5/
                          @benoitranque to set date, we must select date on datepicker before we click button “set”

                          1 Reply Last reply Reply Quote 0
                          • S
                            snowdrop last edited by

                            @cheebhodh I have not yet open an issue for some reason. If you want, you might open one on https://github.com/quasarframework/quasar. Thanks

                            1 Reply Last reply Reply Quote 0
                            • S
                              snowdrop last edited by

                              @cheebhodh Thanks for the js-fiddle. I’ve checked it but the code there says type="date". I suggest you change it to type="datetime" for the issue to be replicated. Thanks

                              cheebhodh 1 Reply Last reply Reply Quote 0
                              • cheebhodh
                                cheebhodh @snowdrop last edited by

                                @snowdrop the result is same

                                1 Reply Last reply Reply Quote 0
                                • S
                                  snowdrop last edited by

                                  @cheebhodh using type="date" and clicking the date will not display the prompting of time because the component is set to have dates only. 🙂 The issue I’ve posted can only be replicated by using type="datetime" because it prompts for the time whenever you clicked on a date on the calendar component.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    snowdrop last edited by

                                    @cheebhodh do you want to open an issue on https://github.com/quasarframework/quasar regarding this? If not, I’ll create one. Thanks

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      snowdrop last edited by

                                      I’ve open an issue regarding this. Check it out here: https://github.com/quasarframework/quasar/issues/1663.

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