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

Comments

Projects
None yet
2 participants
@Lou-Der
Copy link
Contributor

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

This comment has been minimized.

Copy link
Member

commented Mar 3, 2018

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 rstoenescu closed this Mar 3, 2018

@Lou-Der

This comment has been minimized.

Copy link
Contributor Author

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
You can’t perform that action at this time.