Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qtime minutes set to null on hour input #6306

Closed
SMen1 opened this issue Feb 7, 2020 · 6 comments
Closed

qtime minutes set to null on hour input #6306

SMen1 opened this issue Feb 7, 2020 · 6 comments

Comments

@SMen1
Copy link

SMen1 commented Feb 7, 2020

Regarding QTime - it was suggested to me on discord that I should raise an issue.

On all examples on the QTime documentation page the hour shows with the v-model 'hour line', but when selecting a different hour you lose the 'minute line' for the default minutes.

The user is left with a blank face and minutes are set to null.
There is no @input event emitted on hours - only minutes.

There are lots of reasons for not setting the minute to null: user friendliness, pre-setting of defaults (when most selections might be on the hour for example - it does not require additional clicks, or a new user wondering what to click).

So I think this must be quite likely to be unintended so raising this as an issue.

@rstoenescu
Copy link
Member

Hi,

This is the intended behavior. There are lots of reasons, including playing nicely with a QInput.
If the user should only select an hour, then a QSelect would do the job. No need for a full QTime.

@SMen1
Copy link
Author

SMen1 commented Feb 7, 2020

HI

But the user does not see the minute hand? This is the expected behaviour with Android certainly.

Why not have the minute hand display even with 00.

It is not that they should only select an hour, that is not what I meant. Can I request a minute hand instead of blank face or null as an expected behaviour?

And also updating a time? You expect the time to display in minutes when updating minutes. I don't understand why it would not work with QInput.

Many thanks

@rstoenescu
Copy link
Member

Reopening (so that I don't forget about it) for further explanations in a few days (currently extremely busy with v1.9)

@rstoenescu rstoenescu reopened this Feb 7, 2020
@SMen1
Copy link
Author

SMen1 commented Feb 7, 2020

Yes, I understand, many thanks.

Maybe after v1.9.

It's giving me a headache with users (further down the line), so hopefully!

Yes, as I think more, maybe this only needs to be a restriction with QInput? When I was trying this with QInput, I immediately looked to make QInput read only (because with QDate and QTime I only felt I needed QInput for display - didn't necessarily need it for input)! I've always got display with v-model simply.

@flowt-au
Copy link

flowt-au commented Jan 2, 2021

Just to add to this. If my meeting time starts at (say) 19:15 and I want to shift it to 20:15, I would expect to be able to just click the hour and leave the minutes as they are. But instead I need to click 20, then click 15 again.

Some of my events/meetings have very specific minutes eg 9:27 and again, if I want to shift to 10:27 or 11:27 I need to also edit the minutes.

If I create a new event for 13:00 it would be great to just be able to click 13 and get 13:00 not 13:--

These are not big issues but maybe defaulting to 0 minutes and an option to say "leave the minutes when changing the hour" could be handy.

Thanks for all your work! :-)

@rstoenescu
Copy link
Member

Enhancement will be available in Quasar v2.2.4

pdanpdan added a commit to pdanpdan/quasar that referenced this issue Nov 5, 2021
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Nov 5, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Nov 5, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Nov 5, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 1, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 6, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 8, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 9, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 9, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 9, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 9, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 9, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 9, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 10, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 10, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 10, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 10, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 10, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 11, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 13, 2021
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute quasarframework#8487, quasarframework#6306

quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 16, 2022
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Dec 18, 2022
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 5, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 8, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 10, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 11, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 11, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 15, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 16, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Jan 19, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Feb 7, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Feb 15, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 1, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 2, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 9, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 17, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 17, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 17, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 21, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 21, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Mar 31, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Apr 4, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Apr 27, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue May 4, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue May 5, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue May 12, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Sep 4, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Sep 8, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Oct 21, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
pdanpdan added a commit to pdanpdan/quasar that referenced this issue Oct 21, 2023
…r kbd navigation; allow parsing partial date/time strings; do not reset min/sec when setting hour and sec when setting minute; update innerValue when using setNow before it's updated from external value quasarframework#12467, quasarframework#10727, quasarframework#8487, quasarframework#6306
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants