-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
@ionic/vue bug: add v-model support when using refs #22076
Comments
i worked around this issue
|
@aaronksaunders the workaround is just Without the v-model twoWayBind, but will be awesome just type This is what i related, but thanks for the advice of the workaround, now i can go through... |
Will it be fixed to be fully compliant with Vue v-model? Also, the fix proposed above does not seem to work if v-model property is part of a reactive(object). |
Thanks! We have support for a data object with v-model, but we need to update this to add support for using refs. So doing: ...
data() {
return { input: '' }
} would work, but I will ensure we can use refs. |
To test it, I am using the test boilerplate used by Max in June 2019 to demo v-model support (adapted to Vue 3 of course). Can you share a version of this app that works using reactive data object? |
As I mentioned in my previous comment we do not have support for this yet, but will be adding it in one of the upcoming betas. |
Thanks for the issue. This has been resolved via #22092, and a fix will be available in an upcoming beta release of Ionic Vue later this week. |
Hi everyone, This has been released as part of Ionic Vue 0.4.0. Please open a new GitHub issue for any additional bugs you find. Thanks! Upgrade:
|
Perfect, now i can use REFs.. thx!! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
Ionic version:
[x] 5.x
Current behavior:
v-model not set value correctly
Expected behavior:
v-model set value correctly
Steps to reproduce:
Just insert a ion-input with v-model and put de reactive variable with ref
Related code:
Ionic info:
The text was updated successfully, but these errors were encountered: