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

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

Closed
Lou-Der opened this issue Mar 3, 2018 · 2 comments · Fixed by #1734
Closed

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

Lou-Der opened this issue Mar 3, 2018 · 2 comments · Fixed by #1734
Milestone

Comments

@Lou-Der
Copy link
Contributor

Lou-Der commented Mar 3, 2018

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....

@rstoenescu
Copy link
Member

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

@Lou-Der
Copy link
Contributor Author

Lou-Der commented Mar 3, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants