quasar icon indicating copy to clipboard operation
quasar copied to clipboard

[Bug 0.15.5] QDateTime after handler not setting popup value via v-model bind

Open Lou-Der opened this issue 8 years ago • 2 comments

Adjusting the v-model value on a qDatetime via the :after button handler sets the input, but not the popup value.

Code sample showing issue: https://codepen.io/anon/pen/vdMXJV?editors=1010#0

What did you get as the error?

No Error

What were you expecting?

Popup value to reflect change in v-model

Suggestion

Also, i'd think a "Today/Now" button in the popup makes more sense from a UI perspective. Having a "Today" button on the input line isn't as intuitive to me....

Lou-Der avatar Mar 03 '18 01:03 Lou-Der

Seems ok to me?? If indeed it would be a problem, it wouldn't be from Quasar, but due to bad scoping...

mar-03-2018 05-28-33

rstoenescu avatar Mar 03 '18 03:03 rstoenescu

Try hitting the "Today" button and then clicking the popup calendar. It has the old value, not the new one from the :after handler.

Lou-Der avatar Mar 03 '18 04:03 Lou-Der