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

fix: added a symbol to detect non passed props with Vue 3.1.x #3295

Merged
merged 1 commit into from May 8, 2021

Conversation

logaretm
Copy link
Owner

@logaretm logaretm commented May 8, 2021

As reported in #3294 the new behavior of prop keys always present causes issues with checkboxes and initial value detection, this is caused by the reliance on detecting if a user didn't pass a model-value prop.

This PR mitigates this by introducing a unique symbol value as a default to deter when the user didn't pass a model value.

@logaretm logaretm merged commit 0663539 into main May 8, 2021
@logaretm logaretm deleted the fix/prop-key-presence branch May 8, 2021 23:22
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.

None yet

1 participant