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

docs: mentions attachTo in trigger documentation #1972

Merged
merged 1 commit into from Feb 10, 2023

Conversation

cexbrayat
Copy link
Member

Fixes #1470

Some events, like clicking on a checkbox to change its v-model, will only work if the test uses attachTo: document.body. Otherwise, the change event will not be triggered, and the v-model value does not change.

Fixes vuejs#1470

Some events, like clicking on a checkbox to change its `v-model`, will only work if the test uses `attachTo: document.body`.
Otherwise, the `change` event will not be triggered, and the `v-model` value does not change.
@netlify
Copy link

netlify bot commented Feb 10, 2023

Deploy Preview for vue-test-utils-docs ready!

Name Link
🔨 Latest commit 4f8743c
🔍 Latest deploy log https://app.netlify.com/sites/vue-test-utils-docs/deploys/63e659ff4198c10008ee7cee
😎 Deploy Preview https://deploy-preview-1972--vue-test-utils-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@cexbrayat cexbrayat merged commit 264909a into vuejs:main Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs: click event without change event does not update checkbox value without attachTo: document.body
1 participant