-
Notifications
You must be signed in to change notification settings - Fork 11
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
Vue v-model external data change does not update the <calendar-date>
month to the one containing the current date
#38
Comments
Interesting. Could you please provide a minimal reproduction if possible? |
@ShadeDream any chance of a repro? Happy to get this fixed ASAP if you could provide one |
If I'm reading this right, you might want to set the |
Sorry about that, got busy and this has been problematic to set up in a pen while trying to keep things similar to the real application. https://codepen.io/shadedream/pen/RwmPZvV The behavior is slightly different than our real application but close enough. Basically, if you select a date in Cally, then change the date (year was our test case) in the input above, it will modify the reactive variable that Cally is modeled on (the updated value is output below to verify the correct formatting for Cally). In our real application it would update to the correct month/year but have no selection made. In this example it's behaving slightly different in that it doesn't respond at all to the reactive value change. I tried your suggestion using the Let me know if something here doesn't make sense and I can try to explain the issue better. |
No problems, just thought I'd chase it up. Thanks for that, I'll take a look tomorrow |
No rush on it, the year select in #37 alleviated the issue this was causing in our application, but seems to be a weird behavior nonetheless. |
I'm not sure what's going on with the codepen, but when i recreate on stackblitz it works just fine https://stackblitz.com/edit/vitejs-vite-ghxhqd?file=src%2FApp.vue&terminal=dev though i did get the same issues when i accidentally forgot to configure the |
I'm going to close this as I haven't been able to reproduce locally or via stackblitz. If you are still seeing the issue, please let me know |
No worries. It's not code I was using anymore anyway since the addition of the ability to replace the year with a select. It may possibly be something odd I was doing that I didn't capture well. I'll reference your stackblitz example if I run into a similar need again. Thanks for taking a look at it. |
I'm using the
<calendar-date>
in vue with av-mode.lazy
pointing to a reactive variable.The text was updated successfully, but these errors were encountered: