-
Notifications
You must be signed in to change notification settings - Fork 56
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
nativescript-vue - v-model returns object instead of boolean #99
Comments
This is a bug in nsvue, introduced in 2.0 when we changed to functional components... I haven't released a fix yet, but as a workaround, you can replace v-model with |
@rigor789 thanks for the workaround. I think this should be mentioned in the docs while the fix is not yet done. Cheers! |
Absolutely! Would you mind making a PR with the changes to the readme? |
@rigor789 I dont mind at all. I will submit a PR then. Thanks :) |
Updated as request from nstudio#99
Updated as request from nstudio#99
Given this example:
You can see that the foo was declare as true, but the check-box is not checked. Also if I tapped the checkbox and watched the
foo
it's value becomes an object withvalue
field inside.Is there a way to make it emit only a boolean value?
The text was updated successfully, but these errors were encountered: