Open 54mu3l opened 2 years ago
While playing around with the provided Codepen above I just noticed another bug:
QTime emits @update:model-value
after hour is selected (no chance to select minutes)
Can be reproduced with the same Codepen provided above (https://codepen.io/54mu3l/pen/XWZRLoX). Maybe it's the same bug. If it's a different bug, just let me know and I can create another issue. Maybe it has something to do with this "enhancement" mentioned here https://github.com/quasarframework/quasar/issues/6306#issuecomment-961814467 ?
Thank you!
Please split this in at least 3
@change
on final change
- leave this for blur
done
- create one for Qv1 inconsistent behavior of QTime emit (does not emit on change as Qv2 does)
done => https://github.com/quasarframework/quasar/issues/13562
- create one for missing emit reason in payload (as it is present in QDate) in both Qv1 and Qv2
Not 100% sure what you mean.
- also it looks like Qv2 does not emit
@change
on final change
Not 100% sure what you mean.
What happened?
I'm using a QPopupProxy within a QInput (with QDate and QTime for a date/time input).
And every time a user makes a selection/click within the QDate/QTime the parent QInput emits a
blur
event.This behavior didn't exist with Quasar v1. I couldn't find anything in the upgrade guide (https://quasar.dev/start/upgrade-guide#quasar-components) therefore I believe this isn't a desired behavior (=bug).
I created two codepen which clearly show the different behavior:
Quasar v1 https://codepen.io/54mu3l/pen/rNJmEPO
Quasar v2 https://codepen.io/54mu3l/pen/XWZRLoX
What did you expect to happen?
When the users selects a date/time within the QDate/QTIme the QInput should not emit a blur event.
Reproduction URL
https://codepen.io/54mu3l/pen/XWZRLoX
How to reproduce?
==> Steps 3, 6, 9, 10, 11, 12, are different in Quasar v2 versus Quasar v1
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Chrome
Quasar info output
Relevant log output
No response
Additional context
No response